-
-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hard reload discord follow up #2784
Comments
Hard reloads are totally possible in stackblitz, here’s a simple repro of what you’ve described: https://stackblitz.com/edit/tanstack-router-mq1wye There’s a reload button in the preview window, or you can pop it out into it’s own tab, too. The If I know reload the So I think this all works as expected. If that isn’t the case, please provide your own reproduction of the problem - we can then re-open this issue. |
@TkDodo Hi and thank you for your response. I've updated the stackblitz that you provided and made it almost identical as our implementation. As you can see the hard reload on the about page is showing a blank screen after reload. https://stackblitz.com/edit/tanstack-router-3xdnhx?file=src%2Froutes%2Findex.tsx There are two key differences between the default and ours. The first one is that we have a |
Yeah I think we need to document this better. The |
@schiller-manuel I remember seeing somewhere that users should be careful with |
Which project does this relate to?
Router
Describe the bug
Hi all,
This is a follow up issue after discord post. The original post is here
If I have a route with a slow loader (>3s) and implement a pendingComponent with pendingMs and pendingMinMs on this specific route, navigating to it from another page displays the pendingComponent, which is fine. The problem arises when I hard reload the page on this route — it only shows a blank screen. The root config here is defaultPendingMinMs: 0 and defaultPendingMs: 0
Your Example Website or App
The issue cannot be reproduced on stackblitz because of the nature of hard reload.
Steps to Reproduce the Bug or Issue
Expected behavior
It should always show the loader despite being a navigation or hard reload.
Screenshots or Videos
No response
Platform
any
Additional context
No response
The text was updated successfully, but these errors were encountered: