🎯 What you'll practice: lazy() and Suspense for route-level code splitting.
1-B 2-A 3-B 4-A | 5 = import() 6 = loading 7 = const Dashboard = lazy(() => import("./pages/Dashboard")); 8 = <Suspense fallback={<div>Loading...</div>}><Routes>...</Routes></Suspense> 9 = Without splitting, every visitor downloads the JS for all pages upfront even if they only view one — as page count grows this bundle grows too, slowing the initial load for everyone | 10 = import Home from "./pages/Home"; const Dashboard=lazy(()=>import("./pages/Dashboard")); const Settings=lazy(()=>import("./pages/Settings")); <Suspense fallback={<div>Loading...</div>}><Routes><Route path="/" element={<Home/>}/><Route path="/dashboard" element={<Dashboard/>}/><Route path="/settings" element={<Settings/>}/></Routes></Suspense>