mirror of
https://github.com/TanStack/router.git
synced 2026-11-18 19:34:24 +00:00
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
|
|
|---|---|---|
| .. | ||
| skills | ||
| src | ||
| tests | ||
| CHANGELOG.md | ||
| eslint.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsconfig.legacy.json | ||
| vite.config.ts | ||
TanStack Solid Router
🤖 Type-safe router w/ built-in caching & URL state management for Solid!