Patch Changes
-
#477
ea3c674- fix: rename Soliduse*primitives tocreate*so React Compiler doesn't transform themThe devtools packages are written in Solid but used React-style naming (
useStyles,useTheme,useDevtoolsState, …) for their custom primitives. When an app enables React Compiler, the compiler matches theuse*naming convention and transforms/optimizes this Solid code as if it were React, breaking the panel (it is Solid JSX, not React).All custom Solid primitives in
@tanstack/devtools,@tanstack/devtools-ui, and@tanstack/devtools-a11yare renamed fromuse*tocreate*, and Solid's ownuseContext/@solid-primitivesuseKeyDownListare imported under non-usealiases (getContext,getKeyDownList).Breaking for
@tanstack/devtools-ui: the exporteduseThemeis renamed tocreateTheme. -
Updated dependencies [
7114ecd,ea3c674]:- @tanstack/devtools-ui@0.6.0
- @tanstack/devtools-client@0.0.8