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
To make the behavior more noticeable, I made the following adjustments to the forked reproducer:
Set defaultPendingMs to 5000ms
Left the loader delay at 500ms
Steps:
While on the home page, click the about link. Observe a brief (500ms) delay before the about page loads. The pending component does not show.
While on the about page, click the page reload button. Observe the pending component immediately show for defaultPendingMinMs (5000ms).
Expected behavior
The pending component should only show if the pending state lasts for at least defaultPendingMs. In this reproducer, defaultPendingMs is set to 5000ms and the loader takes 500ms, so the pending component should not show.
Screenshots or Videos
No response
Platform
Any
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Version 1.45.2:
Versions 1.45.3 - 1.48.1:
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-hsmnzk?file=src%2Fmain.tsx&preset=node
Steps to Reproduce the Bug or Issue
To make the behavior more noticeable, I made the following adjustments to the forked reproducer:
defaultPendingMs
to 5000msSteps:
defaultPendingMinMs
(5000ms).Expected behavior
The pending component should only show if the pending state lasts for at least
defaultPendingMs
. In this reproducer,defaultPendingMs
is set to 5000ms and the loader takes 500ms, so the pending component should not show.Screenshots or Videos
No response
Platform
Any
Additional context
No response
The text was updated successfully, but these errors were encountered: