Comments (5)
It has to do with this line.
For the fromPath
it currently resolves to using the routeId
of of the current route, which contains the layout identifier as a part of it.
It'll be matter of either sanitizing whats returned by the routeId
or seeing if there's another property on the match that can be used here.
from router.
This has been fixed and released in 1.31.19.
from router.
Thanks, I appreciated it.
from router.
I'm on 1.31.28 and I'm still experiencing this same bug! Routes that have an id
instead of a path
are getting their id inserted into the URL when navigating with search params, which errors.
from router.
I'm on 1.31.28 and I'm still experiencing this same bug! Routes that have an
id
instead of apath
are getting their id inserted into the URL when navigating with search params, which errors.
This has been fixed as of the 1.31.29 release.
from router.
Related Issues (20)
- Layout Route Contexts NOT being set on non-initial redirects in beforeLoad() HOT 4
- Hoverling links with defaultPreload: "intent" causes 2 rerenders of tree, one with missing current route context HOT 5
- Generated router with TS errors using new `isolatedDeclarations` HOT 2
- Can't git clone repo on Windows due to `?split.tsx` files HOT 3
- useRouteContext initially undefined HOT 3
- DOCS: Impossible to find something about defaultPendingComponent in docs HOT 4
- Context missing on route preload HOT 2
- Route component not showing
- Route.to becomes `undefined` after a HMR save HOT 3
- defaultPendingMinMs blocks the page on load HOT 2
- Throwing an error in a `beforeLoad` handler does not render error component
- Undefined context after redirect with wrapInSuspense at root route (introduced in 1.33.6) HOT 6
- Module '"@tanstack/react-router"' has no exported member 'PickAsRequired'. HOT 1
- aria-current=page attribute is returned for all links HOT 2
- The test does not work when rendering the router HOT 6
- File base subroutes regression HOT 4
- Context is undefined when search validation fails HOT 1
- Incorrect not found component being rendered HOT 3
- Overlapping Keys Cause Type Issues Using Experimental Intersection
- `Route.fullPath` is typed incorrectly when using path params HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from router.