How can I reload page without flickering? #2989
Unanswered
leesb971204
asked this question in
Q&A
Replies: 1 comment 3 replies
-
can you please create a minimal complete example of what you have tried by forking one of the existing stackblitz examples? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to convert the following react-router-dom v5 code to tanstack-router v1:
This logic is used in my code to refresh the page without causing any flickering. Specifically, it is intended to update cookies while ensuring a seamless refresh experience without a visible page reload.
Here is my attempt at implementing the same functionality using tanstack-router:
None of these attempts (1, 2, or 3) seem to trigger the cookie refresh. Even when I fix the argument to location.pathname, the result is the same.
Am I missing something here? Any advice or insights would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions