Open History to see the last commit
1---
2'@tanstack/devtools-ui': minor
3'@tanstack/devtools': patch
4'@tanstack/devtools-a11y': patch
5---
6β
7fix: rename Solid `use*` primitives to `create*` so React Compiler doesn't transform them
8β
9The 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).
10β
11All 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`).
12β
13Breaking for `@tanstack/devtools-ui`: the exported `useTheme` is renamed to `createTheme`.