Minor 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.
Patch Changes
- #472
7114ecd- FixCheckboxignoring controlledcheckedprop updates. It previously readcheckedinto internal state only once at mount, so it never reflected later prop changes when used as a controlled input (e.g. the devtools settings panel). It now reflects thecheckedprop whenever it is provided and falls back to internal state only when uncontrolled.