0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-18 19:34:24 +00:00
router/packages/solid-router
Sheraff 38737e2d5b
fix(solid-router): a Solid split chunk imported again answers its newest evaluation on Rsbuild/webpack (temporary workaround of web-infra-dev/rspack#16594)
With lazy compilation on (Rsbuild's dev default), a later import() of a
module that accepts its own updates answers its first namespace; solid-refresh
makes every Solid split chunk such a module. Design 7b, built as a temporary,
self-contained workaround the user authorized:

- solid-router `src/hmr-chunk-importer.ts` (new): records each chunk
  evaluation's handed-over exports; `__tsrChunkImporter` answers the newest.
  Hooked in `hmr.ts` (record call, adapter `retire`, re-export).
- router-plugin `planners/split.ts` `chunkImporterCall`: Solid, dev client,
  webpack-style hosts: each group's importer is wrapped.
- router-core: one keep rule for the hot slot: an evaluation a chunk handed
  over is decided by `keepPatched`, any other by `keep`; `settleWith` loses its
  `keep` parameter (general, stays when the workaround goes).

Unpins the grouped-loader KNOWN-BUGS row; upstream-table row says what to
delete once rspack#16594 is fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-12 15:58:42 +01:00
..
skills docs(skills): reference cross-package skills by intent ID (#8670) 2026-10-17 11:10:53 +02:00
src fix(solid-router): a Solid split chunk imported again answers its newest evaluation on Rsbuild/webpack (temporary workaround of web-infra-dev/rspack#16594) 2026-11-12 15:58:42 +01:00
tests fix(solid-router): a Solid split chunk imported again answers its newest evaluation on Rsbuild/webpack (temporary workaround of web-infra-dev/rspack#16594) 2026-11-12 15:58:42 +01:00
CHANGELOG.md ci: Version Packages (#8745) 2026-10-22 22:05:39 +02:00
eslint.config.ts feat: add @tanstack/intent AI agent skills for Router and Start (#6866) 2026-03-16 16:54:37 -06:00
package.json Merge origin/main into t3/yuku-compiler-rewrite 2026-10-25 22:56:24 +01:00
README.md docs: use the dynamic README header endpoint (#7940) 2026-08-03 21:03:29 +02:00
tsconfig.build.json fix: solid-router for ssr (#3541) 2025-02-24 08:47:52 +01:00
tsconfig.json chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
tsconfig.legacy.json feat(solid-router): Add a SolidJS driver for TanStack Router (#3276) 2025-02-20 17:11:39 +01:00
vite.config.ts perf(router): move the dev-only route HMR runtime to a /hmr subpath 2026-10-25 14:32:06 +01:00

TanStack Solid Router

TanStack Solid Router

🤖 Type-safe router w/ built-in caching & URL state management for Solid!

#TanStack semantic-release Join the discussion on Github Best of JS

Visit tanstack.com/router for docs, guides, API and more!