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
I've noticed the pending component doesn't stay mounted if it's on the __root route. It seems like it does quickly render but doesn't stay until the __root loader method is finished, instead it instantly unmounts
Verify that you see a green box on first load to verify that non __root pending component works
Go to src\routes\index.tsx and comment out the pending component and loader
Go to src\routes\__root.tsx and uncomment the same code from previous file
Verify that the green box does not appear after refreshing window
Expected behavior
I expect to see the green box upon loading after the 4th repro step. I've left a red box as the router's default pending component to show that does seem to be working normally in all relevant cases
Screenshots or Videos
No response
Platform
Version: 1.57.8
Additional context
No response
The text was updated successfully, but these errors were encountered:
Which project does this relate to?
Router
Describe the bug
I've noticed the pending component doesn't stay mounted if it's on the __root route. It seems like it does quickly render but doesn't stay until the __root
loader
method is finished, instead it instantly unmountsYour Example Website or App
https://codesandbox.io/p/devbox/epic-shape-z676nh
Steps to Reproduce the Bug or Issue
src\routes\index.tsx
and comment out the pending component and loadersrc\routes\__root.tsx
and uncomment the same code from previous fileExpected behavior
I expect to see the green box upon loading after the 4th repro step. I've left a red box as the router's default pending component to show that does seem to be working normally in all relevant cases
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: