Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

russellxu's avatar

Can Inertia component be wrapped in a Layout component?

I'm trying to build a admin background page using InertiaJs. whenever I redirect to a different page, the whole page rerendered, but I dont want SideBar component to be rerendered, because the sub-menu is bouncing when the page reloaded, like this: Alt image

it's possible to wrap Inertia component in a Layout component? so redirect will not effect Layout component.

0 likes
2 replies

Please or to participate in this conversation.