0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs/start/framework/react
Sheraff 5035c8161d
fix(import-protection): dev log: 'always' asks onViolation at every compile, cached plans included
With `log: 'always'`, `onViolation` was asked when a plan was computed, so a
compile the plan cache answered did not ask again: a failed importer
(`behavior: 'error'`) rebuilt by Rspack or requested again from Vite threw
before asking, and Vite asked nothing when it compiled modules again (main
asks at every compile). The planner now decides only `log: 'once'` (its
session memo); with `'always'`, `ImportProtectionEnv.afterCompile` decides
every compile's violations through the same verdict as the edge-module
confirmation and the Rspack kept-module replay (`devVerdict`: a veto makes
the edge module serve the real module). This removes the Rsbuild loader's
cached-compile replay and its per-resource fingerprints. `log: 'once'` and
compiles without violations stay synchronous.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-10-29 17:27:19 +01:00
..
guide fix(import-protection): dev log: 'always' asks onViolation at every compile, cached plans included 2026-10-29 17:27:19 +01:00
tutorial docs(start): fix tutorial and ISR guide links (#8366) 2026-09-11 14:36:09 -06:00
build-from-scratch.md rename inputValidator to validator (#7566) 2026-06-06 23:05:56 +02:00
comparison.md docs(start): substantiate framework comparison claims (#8369) 2026-09-11 15:06:24 -06:00
getting-started.md docs(start): describe key search entry pages (#8367) 2026-09-11 14:47:42 -06:00
migrate-from-next-js.md response reconciliation (#7588) 2026-10-13 00:01:04 +02:00
migrate-from-release-candidate.md Start stable (#8696) 2026-10-13 00:45:16 +02:00
overview.md docs (#8699) 2026-10-13 01:35:59 +02:00
start-vs-nextjs.md docs(start): substantiate framework comparison claims (#8369) 2026-09-11 15:06:24 -06:00