router
router copied to clipboard
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
This PR is heavily inspired from [new `Next js` Layout RFC](https://nextjs.org/blog/layouts-rfc). This update would improve [Interaction on Next Paint](https://vercel.com/blog/improving-interaction-to-next-paint-with-react-18-and-suspense) and uses new concurrent feature :) _Sorry if I made any...
Memoizing the functions using [`useCallback`](https://reactjs.org/docs/hooks-reference.html#usecallback) _Sorry if I made any mistakes :(_
### Describe the bug When using hash router there are couple of bugs. 1. `cmd+click` which opens a link in a new tab doesn't work properly - it removes the...
**Describe the bug** When navigating with `useNavigate()` hook, the page doesn't load the new route unless I manually reload the browser window. **To Reproduce** Inside any app using @tanstack/[email protected] ```...
keep url query like "?code=001".
### Describe the bug This may be more of an optimization than a bug, but I wanted to log the issue here because it took me some time to figure...
### Describe the bug When I use the useMatch hook with the `/*` path, it doesn't update the `params['*']` value when navigation ### Your Example Website or App https://codesandbox.io/s/react-location-usematch-issue-wq5yq0?file=/src/App.tsx ###...
When installing anything in my project I get this error: ``` npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @tanstack/[email protected] npm ERR!...
Fixes #255 - We set the `RouteMatch` status after loading the elements and (optional) loader - The loader can also set the status - Thus, we only set the `resolved`...
### Describe the bug I am not sure the errorElement is working as it should, or whether I am misunderstanding it. See this fork of the basic example: https://codesandbox.io/s/stupefied-mountain-6shsph?file=/src/index.tsx I...