Comments (10)
so v1.18.3 does not have this error?
can you please fill your enviroment information, such as
- operating system
- node version
- pnpm version
from router.
1.18.3 not have this error.
We tried in linux and windows, both recent versions.
node 20.11 and 20.10 and pnpm latest version (8.15)
from router.
can you please provide a minimal example repo?
from router.
I have attempt it but it's difficult due to dependencies.
I will try to explaint what we are doing.
We have a renderByComponent method,
That it's used to put a component inside the router context, when we want to render only a component. We have the memory leak in this method. But only in one test suite, all the others are running as usual.
We have another to render the routes but here we don't have the problem when navigating to the route that it is using this component.
And the component it's quite simple, have a useMatchRoute(), useTranslation(), useStyles() useQuery(), and a view that isn't to much complicated
This is the only component that it is using useMatchRoute() I have tried to remove it to see if the problem dissapears but no. Same with RQ, I tried to remove it but same problem.
from router.
Ok, I found something, when I comment the <Outlet />
that the component have it's working
from router.
can you put this into a small reproducer?
from router.
Should be something like the next one but I can't reproduce it by the moment
https://stackblitz.com/edit/github-t9bqm9?file=src%2Fmain.tsx
from router.
any luck with the reproducer?
from router.
Seems that yes, if you try with 1.18.4 isn't working but with 1.18.3 is working
from router.
Any news about this?
from router.
Related Issues (20)
- preload="intent" triggers navigations in route's beforeLoad handler HOT 5
- feat: make the typed `useNavigate` hook be accessible via the returns of `createFileRoute` and `createLazyFileRoute`
- Typescript errors from using "navigate" HOT 6
- Double quote character is not encoded as described in the doc HOT 1
- SearchParams ending in "=" strips the equals sign HOT 3
- In memory router: history back and go functions not working HOT 2
- Invalid loader type of `void` when loader function has `promise.then(data => data.x)` HOT 2
- In Memory routers useMatchRoute does not behave as expected
- useSearch returns old value temporarily if loader is defined HOT 1
- router-vite-plugin 1.26.3 broken on Windows: "?" is not valid in a filename HOT 5
- bug(router-vite-plugin): `experimental.enableCodeSplitting` nextCreate is not a function HOT 4
- `Route.id` is `undefined` immediately after route creation HOT 5
- lazy-loaded Devtools button disappears after navigating HOT 1
- Uncaught TypeError: Cannot read properties of null (reading '__store') HOT 6
- notFound(), route loader, and initial application loading. HOT 5
- `location.pathname` is not encoded on client side navigation
- refactor(router-vite-plugin): migrate the `experimental.enableCodeSplitting` functions to not use absolute paths HOT 2
- When using hash history router reads and writes search params from fragment instead of query HOT 2
- "route.tsx" is not working as expected on the root route. HOT 3
- Can't move to lazy parent route from ErrorComponent HOT 3
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.