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
when hard-loading a page for the first time, it will show the loader (or an empty page) for the pendingMinMs time even if the route has no loader at all or the loader resolves before pendingMs has expired (default 1 second).
changed the title [-]defaultPendingMinMs blocks the page on load if no pendingComponent is defined[/-][+]defaultPendingMinMs blocks the page on load[/+]on May 21, 2024
In addition I can see that pendingMs is ignoring. Loading... will be displayed in 1s (default value) even if value was changed to smth big, i.e. 10_000.
By default, TanStack Router will show a pending component for loaders that take longer than 1 second to resolve. This is an optimistic threshold that can be configured via: pendingMs
I would expect not to see Loading... for 10s if loader not resolved.
Activity
[-]defaultPendingMinMs blocks the page on load if no pendingComponent is defined[/-][+]defaultPendingMinMs blocks the page on load[/+]acoBOYZ commentedon May 23, 2024
Yes I have the same issue.
shevdrakon commentedon May 24, 2024
In addition I can see that
pendingMsis ignoring.Loading...will be displayed in 1s (default value) even if value was changed to smth big, i.e.10_000.I would expect not to see
Loading...for 10s if loader not resolved.ericchernuka commentedon Jul 6, 2024
This is an interesting one. I haven't dug in, but I just discovered this today also.
schiller-manuel commentedon Jul 16, 2024
this will be fixed by #1907
reproducer with pre-release package: https://stackblitz.com/edit/tanstack-router-um44ng?file=src%2Fmain.tsx&preset=node