Patch Changes
-
#8081
252caa8-lazyRouteComponentnow delegates to Solid'slazy()using its{ export }
option (solid-js 2.0.0-rc.1): the module namespace passes through untouched,
so SSR'd route chunks resolve their client assets (stylesheet links,
modulepreload hints, hydration gating) through the client-assets manifest,
and hydration claims the component synchronously from the preloaded module.
Failed chunk downloads are retried by the next preload or render, and the
module-not-found reload-once behavior is unchanged. Solid packages are
bumped to the 2.0.0-rc.1 line (@solidjs/vite-plugin3.0.0-next.30). -
#8080
b60b741- Register head tags through Solid'suseHeadregistry.HeadContentnow
feeds the route-derived tags to Solid's head registry as one reactive group
instead of rendering elements in-tree: the registry owns head emission on
both runtimes (SSR splicing/streaming and client-side patching), replacing
the manual relocate-into-head, imperative script injection, and
document.titlesyncing. Inline scripts and styles carry a stable
content-derived key so server and client reconcile on the same identity.
HeadContentcan now be rendered anywhere in the tree. The dedicated
development entry (index.dev) and itsdevelopmentexport conditions are
retired along with it. -
Updated dependencies [
252caa8,b60b741]:- @tanstack/solid-router@2.0.0-rc.1