github TanStack/devtools @tanstack/devtools-ui@0.6.0

latest releases: @tanstack/devtools@0.12.5, @tanstack/devtools-vite@0.8.1
3 hours ago

Minor Changes

  • #477 ea3c674 - fix: rename Solid use* primitives to create* so React Compiler doesn't transform them

    The 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 the use* 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-a11y are renamed from use* to create*, and Solid's own useContext / @solid-primitives useKeyDownList are imported under non-use aliases (getContext, getKeyDownList).

    Breaking for @tanstack/devtools-ui: the exported useTheme is renamed to createTheme.

Patch Changes

  • #472 7114ecd - Fix Checkbox ignoring controlled checked prop updates. It previously read checked into 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 the checked prop whenever it is provided and falls back to internal state only when uncontrolled.

Don't miss a new devtools release

NewReleases is sending notifications on new releases.