Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running next build, Next.js generates an HTML file per route. By breaking a strict SPA into individual HTML files, Next.js can avoid loading unnecessary JavaScript code on the client-side, reducing the bundle size and enabling faster page loads.
- Loading branch information