Hi Vercel Support Team,
I’ve recently migrated my project from Next.js 13 (Pages Router) to Next.js 15 using the App Router, and I’m facing an unexpected issue.
In one of my modules (e.g., the Carrier Profile page), I have a layout where:
- The top section shows profile details.
- Below that, I use
Tabsfrom React-Bootstrap to show different sections (like Overview, Documents, History, etc.).
Issue:
Whenever I switch tabs, the entire page re-renders, including the profile details above, which shouldn’t change. This wasn’t happening earlier in the Pages Router setup.
What I’m looking for:
- Is this expected behavior with the App Router?
- How can I prevent the full page re-render on tab change and preserve the top section?
- Should I be using nested layouts,
use client, or some caching mechanism to solve this?
Let me know if you need a minimal reproduction or any other information.
Thanks,