You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download the project and run it. Open it and restrict your connection to "slow 3g" then click on "enterprises" link. If you click instantly without leaving the time to the preload to end, then it will show you nothing, as if there wasn't a component associated to the link.
Expected behavior
It should show the loader component and then, when the loader has finished, show the route component.
In this case, we need to use a restricted connection so the preload does not have the time to load before we click. In routes that has bigger components, the issue happens even with a good connection cause it couldn't load huge routes before we click.
The text was updated successfully, but these errors were encountered:
Describe the bug
After clicking on a link with has its preload as intent and the route does not have the time to load, the new route component will not show.
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-sb9dg1?file=src%2Frouter.tsx
Steps to Reproduce the Bug or Issue
Download the project and run it. Open it and restrict your connection to "slow 3g" then click on "enterprises" link. If you click instantly without leaving the time to the preload to end, then it will show you nothing, as if there wasn't a component associated to the link.
Expected behavior
It should show the loader component and then, when the loader has finished, show the route component.
Screenshots or Videos
https://gyazo.com/ada043a794530f4d4c044512523b18f1
Platform
Additional context
In this case, we need to use a restricted connection so the preload does not have the time to load before we click. In routes that has bigger components, the issue happens even with a good connection cause it couldn't load huge routes before we click.
The text was updated successfully, but these errors were encountered: