0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/e2e/solid-router
Brenley Dueck 62f3b2697f
Upgrade solidjs beta 20 (#7850)
* chore: upgrade Solid v2 packages to 2.0.0-beta.20

Bumps solid-js and @solidjs/web from 2.0.0-beta.19 to 2.0.0-beta.20 and
vite-plugin-solid from 3.0.0-next.11 to 3.0.0-next.13 across packages,
examples, e2e apps, and benchmarks.

vite-plugin-solid 3.0.0-next.13 defaults to the new native JSX backend
(@dom-expressions/compiler), which is an incomplete milestone build that
cannot compile components with element children yet ("Only text and
expression component children are implemented in the AST-native
milestone"). Every vite-plugin-solid call site now passes
compiler: 'babel' to keep the babel-preset-solid pipeline until the
native compiler matures.

Also fixes two pins that had gone stale: the quickstart-webpack example's
direct babel-preset-solid pin (stuck on beta.18) and
@rsbuild/plugin-solid's babel-preset-solid lockfile resolution (also
beta.18), so the compiler and runtime are in lockstep everywhere.

Verified with solid-router test:unit (client + server modes) and
e2e/solid-start/basic (pnpm build + test:e2e:local).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore: use the native JSX compiler (vite-plugin-solid default)

Removes the compiler: 'babel' escape hatch from all vite-plugin-solid
call sites, returning to next.13's default native backend
(@dom-expressions/compiler).

The native compiler's only unimplemented construct that this repo used
was a fragment passed as a component's child (dom mode only). The single
instance — the redundant <>{props.children}</> wrapper in solid-router's
ClientOnly — is removed; props.children is a valid JSX child on its own.

Verified: solid-router test:unit (client + server), e2e/solid-start/basic
(pnpm build + test:e2e:local), and a direct scan of all 1353 solid
.tsx/.jsx files in the repo through @dom-expressions/compiler in both
dom and ssr modes with zero failures.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
History 2026-07-18 18:10:06 +02:00
..
basepath-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-esbuild-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-file-based-code-splitting Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-scroll-restoration Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-solid-query Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-solid-query-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-virtual-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
basic-virtual-named-export-config-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
generator-cli-only Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
js-only-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
rspack-basic-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
rspack-basic-virtual-named-export-config-file-based Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
scroll-restoration-sandbox-vite Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
sentry-integration Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00
view-transitions Upgrade solidjs beta 20 (#7850) 2026-07-18 18:10:06 +02:00