Skip to content
Source
Sign inSign up
TanStack/router

fix: route HMR handling #5710

Mergedschiller-manuel(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5710/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 6 changed files with 40 additions and 14 deletions (loading 3).

x
0 of 6 viewed, 6 left
0 additions and 9 deletionspackages/router-core/src/route.tsModified
View file
@@ -1709,15 +1709,6 @@
this._to = fullPath as TrimPathRight<TFullPath>
- clone = (other: typeof this) => {
- this._path = other._path
- this._id = other._id
- this._fullPath = other._fullPath
- this._to = other._to
- this.options.getParentRoute = other.options.getParentRoute
- this.children = other.children
- }
-​
addChildren: RouteAddChildrenFn<
TRegister,
TParentRoute,
7 additions and 3 deletionspackages/router-plugin/src/core/code-splitter/compilers.tsModified
View file
@@ -133,6 +133,7 @@
let createRouteFn: string
​
let modified = false as boolean