Performance

Lazy loading

Loading things only when they're actually needed instead of all up front.

Instead of downloading your entire app before showing anything, lazy loading defers the heavy or rarely-used parts — a charting library, the admin dashboard, images below the fold — until the user actually reaches them. It's ordering each course as you go rather than piling the whole menu on the table at once. This keeps the first load fast, which matters because a slow initial page is one of the most common and most fixable problems in AI-generated apps that import everything eagerly.