Replies: 1 comment 1 reply
-
I think you bring up a good point. I think a good path forward would be this: https://codesandbox.io/s/withered-haze-ypwte?file=/src/index.tsx:2510-2632 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I am not sure if this would be considered a bug or a feature thus the discussion.
I see that on routes that have a pending element the global router.pending flag will end as soon as the pending element shows. So if I have a global pending indicator similar to https://react-location.tanstack.com/guides/pending-states#global-pending-navigation-indicators it will stop early and the pending element will show. Shouldnt the global router.pending only end when the loader is resolved or rejected?
Here is a link to the sandbox https://codesandbox.io/s/condescending-flower-b1prw?file=/src/index.tsx and preview https://b1prw.csb.app/
Beta Was this translation helpful? Give feedback.
All reactions