Comments (1)
You can only create a new ReactLocation
instance once. You were creating it every render. This did reveal a bug though.
Here is a fixed version of your sandbox on the old version. It's not bad, but still has a pending state bug when you use an app wrapper: https://codesandbox.io/s/bold-star-rnmlk?file=/package.json
Here is the same sandbox, but on the latest patch version. You'll notice a slight difference in how the pending states cascade properly: https://codesandbox.io/s/bold-star-rnmlk?file=/package.json
from location.
Related Issues (20)
- Page hash is being replaced into route's url on page refresh/visit(not with router link)
- Module '"@tanstack/router"' has no exported member 'RouterProvider'. HOT 8
- opts are optional in useSearch but treated as required HOT 3
- Type Error for routes HOT 6
- Cancelling navigation with `usePrompt` does not reset search params
- Path after a param is not matched HOT 5
- useSearch invariant failed on React 17
- Using a `lazy()`-loaded component throws an error HOT 2
- Global wrapInSuspsense option HOT 1
- Using a variable as "to" in a <Link> gives typescript error HOT 5
- useSearch is triggered for all consumers when query parameters changed HOT 1
- `useBlocker` only blocks navigation once
- Layout Routes break route sorting HOT 3
- Loader instances doesn't inherit defaults properly HOT 2
- "tanstack" react-router.js does not provide an export named 'useNavigate' HOT 4
- Some links on website broken HOT 3
- Beta.87 Link Path Changes but Page Content Fails to Load HOT 28
- `Link` lags one click behind HOT 1
- Does not support query params starting with "0" ie: "01234" HOT 2
- Link component requires search property when dynamic props are passed HOT 6
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 location.