0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs
Sheraff 61d2073a40
route splitting: accurate this-rule texts (F1), route HMR keeps a method using its own this/super (F2), <this.Foo /> counts as this (F3)
F1: the router calls route options as plain functions; the warning, guide,
changeset and comments now say only that splitting can change what this
refers to. Tests run the loader through the router (renderRoute), with
rows for parameter defaults, class extends and computed keys, field
initialisers, static blocks, typeof this in types and generator methods.
F2: the React route-HMR hoist skipped no method, so a method using super
became a function expression (syntax error); ownThisOf now gates it.
F3: a JSX member expression's object JSXIdentifier named this is a use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-14 23:03:01 +01:00
..
router route splitting: accurate this-rule texts (F1), route HMR keeps a method using its own this/super (F2), <this.Foo /> counts as this (F3) 2026-11-14 23:03:01 +01:00
start Merge branch 't3/compiler-rewrite-options-referenced' (route options whose object is used outside the route call are opaque and reported, never silently split) into t3/yuku-compiler-rewrite 2026-11-12 16:16:03 +01:00
AGENTS.md agents (#8258) 2026-09-15 22:36:13 +02:00