TanStackT
TanStack12mo ago
32 replies
dead-brown

Multiple layout in a route causes layout flash

Hi guys,

in the below image is the file structure of my route. The issue is when i am on any route wrapped by _mainLayout trying to route to a route wrapped by _infoLayout, i always get a flash of _mainLayout before _infoLayout will show up. Any idea of how i can fix this will. be appropriated. Thanks
Screenshot_2025-02-14_at_22.58.18.png
Was this page helpful?