Sean Cassiere
Sean Cassiere
I believe this is being covered in [PR #7247](https://github.com/TanStack/query/pull/7247/files#diff-fb065d21c5055641cd560b22d450f9ea25f369c24f563fdc46dafae9b9f16e44R442) in the Query repo.
This has since been fixed
This change should no longer be needed _I think_, since Router should be accumulating and making the meta changes on navigation. If not, please ping the original issue and we...
This should be resolved now.
This has been completed in https://github.com/TanStack/tanstack.com/commit/ac79e7b672f14df95fc2714c4a0d2afc9b670014.
> Moving the [`updateMatch`](https://github.com/TanStack/router/blob/main/packages/react-router/src/router.ts#L1607) call from the finally block to the end of the try block fixes this context issue for me... @freshgiammi this seems to do the trick.
This should now be fixed with the [1.32.11](https://github.com/TanStack/router/releases/tag/v1.32.11) release. 📢 Huge shoutout to @freshgiammi for the fix.
@nwi-di the beforeLoad is working correctly. It's just a `useAuth` hook that's not production-ready and you not awaiting your `auth.login` call. https://codesandbox.io/p/devbox/nostalgic-cloud-d5s8zx?file=%2Fsrc%2Fauth.tsx%3A7%2C31 Edit: *TLDR;* The problem you are facing in...
The CSB link I posted earlier didn't seems to have all the changes I actually made. CSB has issues... Either ways I've updated the "authenticated routes" example on main. Once...
> With the "sleep" you put into the example, the router invalidation and navigation are put behind the react updates (due to the `setTimeout`), right? To make this work, the...