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
@schiller-manuel I'm still seeing this 500ms delay on 1.45.11. Setting defaultPendingMinMs to 0 still works as a workaround.
Edit:
It turned out to not happen when I remove beforeLoad from my routes. These are non-async and only return an object which adds a title property to the router's context so all routes can be joined and set in document.title. Is it expected that defaultPendingMinMs applies already when beforeLoad is set to a non-async method?
Activity
ericchernuka commentedon Jul 10, 2024
Wonder if this is related to #1899
cheec commentedon Jul 11, 2024
Thanks @ericchernuka for the pointer! Sounds like a workaround for now would be to set
defaultPendingMinMsto 0cheec commentedon Jul 11, 2024
cc #1646
schiller-manuel commentedon Jul 16, 2024
this will be fixed by #1907
reproducer with pre-release package: https://stackblitz.com/edit/tanstack-router-mp74sr?file=index.html,package.json,package-lock.json,src%2Fmain.tsx,vite.config.js
levrik commentedon Aug 1, 2024
@schiller-manuel I'm still seeing this
500msdelay on1.45.11. SettingdefaultPendingMinMsto0still works as a workaround.Edit:
It turned out to not happen when I remove
beforeLoadfrom my routes. These are non-async and only return an object which adds atitleproperty to the router's context so all routes can be joined and set indocument.title. Is it expected thatdefaultPendingMinMsapplies already whenbeforeLoadis set to a non-async method?schiller-manuel commentedon Aug 1, 2024
@levrik can you please open a new issue by and provide a minimal complete example by forking one of the existing router examples on stackblitz?
e.g. https://tanstack.com/router/v1/docs/framework/react/examples/quickstart-file-based