github TanStack/devtools @tanstack/devtools-a11y@0.1.6

latest releases: @tanstack/devtools@0.12.5, @tanstack/devtools-vite@0.8.1, @tanstack/devtools-ui@0.6.0...
4 hours ago

Patch 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.

  • Updated dependencies [7114ecd, ea3c674]:

    • @tanstack/devtools-ui@0.6.0

Don't miss a new devtools release

NewReleases is sending notifications on new releases.