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 adding beforeLoad to a route (even an empty one), the router gets mounted and then displays a white page for approx. 400ms before the actual page is rendered.
Describe the bug
When adding
beforeLoadto a route (even an empty one), the router gets mounted and then displays a white page for approx. 400ms before the actual page is rendered.Your Example Website or App
https://stackblitz.com/github/tanstack/router/tree/main/examples/react/quickstart-file-based
Steps to Reproduce the Bug or Issue
beforeLoad: () => {}to any page - I chose the about page.Expected behavior
Simply adding the
beforeLoadoption should not materially change load times.Screenshots or Videos
router.mp4
Platform
Additional context
No response