Also moves router-devtools-core from solid-js 2.0.0-beta.1 to the 2.0.0 release:
- solid-js and @solidjs/web ^2.0.0, @solidjs/vite-plugin ^3.0.1 instead of vite-plugin-solid 3.0.0-next.2
- a scoped pnpm override keeps the rest of the workspace on the catalog's solid-js 1
- JSX types come from @solidjs/web, and jsxImportSource is @solidjs/web
- keyed <For> passes the item again, not an accessor
- the drag handle keeps a native mousedown listener through a ref, since on: is gone
- the cache refresh effect from main is split into compute and apply
- the cache test flushes after the click, since Solid 2 applies writes on the next flush
The original `@tanstack/router-devtools` package still work - it's not
touch by this PR in any way, apart from a migration note saying:
>[@tanstack/router-devtools] Warning: This package has moved to
@tanstack/react-router-devtools. Please switch to the new package, as
this package will be dropped soon.
This introduce three new packages
- @tanstack/router-devtools-core : This is a SolidJS port of the UI
And two adapters on top, that mount this solid app and forward
router/routerState into it.
- @tanstack/solid-router-devtools
- @tanstack/router-router-devtools
For use of devtools in production, a `TanStackRouterDevtoolsInProd` can
be imported instead of the standard `TanStackRouterDevtools` that'll be
tree shaken away in prod.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>