Frontend & browser·Routing and navigation
the sidebar stayed mounted and kept its scroll position while the panel next to it changed.
Nested route
Also calledlayout route, nested layout
A route hierarchy where a parent renders persistent layout and a child fills a slot inside it. It preserves state and avoids re-rendering shared chrome on every navigation, and it lets data loading be declared per level so parallel fetching is possible. The cost is that a persistent layout does not remount, so anything it initialises has to handle the route changing underneath it.