System Design · Junior · Question 14 of 75
How does an SPA differ from an MPA?
- ✓Correct answer: An SPA switches pages on the client via JS, an MPA loads new HTML from the server
- 2An SPA is a single HTML page with no navigation at all
- 3An MPA doesn't support JavaScript and works only with static content
Explanation
An SPA gives smooth transitions and rich interactivity but needs more JS and attention to SEO and first load. An MPA is simpler and faster to start. Modern frameworks (Next.js) combine server rendering and client navigation.