Closed
Description
Describe the bug
I am facing an issue on admin panel I am developing now. Sometimes, I cannot find exact steps to reproduce it just returns nothing in Outlet. I checked all my code tree and there is no chance it is bug in my code. Then I reload the page and then I am facing the next issue. beforeLoad of my $lang route is called before __root.tsx beforeLoad what causes other bugs
Your Example Website or App
admin.7loc.com
Steps to Reproduce the Bug or Issue
If you want, you can
- register here,
- create profile in form
- Navigate between pages on phone or with efficiency slowed down x6 + mobile mode in devtools
Expected behavior
- When I am on some route, and there is some content, Outlet have to return it always
- __root.tsx beforeLoad should be called before other routes beforeLoad as well, as any parent beforeLoad should be called before beforeLoad of any children
Screenshots or Videos
No response
Platform
- OS: It happens more often on phone or if I slow dows processor x6 in browser devtools
- Browser: all
- Version: 1.30.1—1.31.2
Additional context
No response