Skip to content

@tanstack/devtools-ui@0.6.0

Choose a tag to compare

@github-actions github-actions released this 24 Jun 12:06
Immutable release. Only release title and notes can be modified.
92f69d0

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.