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 an error is thrown in a layout beforeLoad it is supposed to render the errorComponent currently it renders the errorComponent for a couple of second and goes back to rendering the layout component
Click the codesandbox link
Go to the layout route
You will see the errorComponent rendered for a couple of second and the normal component continue rendering
Expected behavior
When an error is thrown in a beforeLoad component only the errorComponent should be rendered
Screenshots or Videos
No response
Platform
OS: Windows
Browser: Chrome
Version: 1.105.2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Danieljs-codes
changed the title
When error is thrown in a layout beforeLoad file it renders the error component then goes back to rendering the page
When error is thrown in a layout beforeLoad it renders the error component then goes back to rendering the page
Feb 16, 2025
Which project does this relate to?
Start
Describe the bug
When an error is thrown in a layout beforeLoad it is supposed to render the errorComponent currently it renders the errorComponent for a couple of second and goes back to rendering the layout component
Your Example Website or App
https://codesandbox.io/p/devbox/youthful-curran-xl86qh?workspaceId=ws_JZuiFY8VWVbpVnjYnet4za
Steps to Reproduce the Bug or Issue
Click the codesandbox link
Go to the layout route
You will see the errorComponent rendered for a couple of second and the normal component continue rendering
Expected behavior
When an error is thrown in a beforeLoad component only the errorComponent should be rendered
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: