import { useState } from 'react'; export default function App() { const [tab, setTab] = useState('overview'); return (
{tab === 'overview' && (

Default overview content. The hero lives in the Features tab.

)} {tab === 'features' && (

Features Hero

Lives in the non-default tab — only mounts when Features is active.

)}
); }