Astro for Beginners / Chapter 1 — What Is Astro? (lessons 1–4) / Lesson 1
MPAs, SPAs, and Where Astro Fits
Time needed: about 6 min (estimate)
Reading settings
These settings are remembered on this device only.
You can try the opening of this lesson without an account.
Two ways to build
There are two broad ways to build a website.
An MPA (Multi-Page Application) has an HTML file per page, and when you follow a link, the browser fetches the next HTML.
An SPA (Single-Page Application) serves just one HTML page, and from then on JavaScript redraws the content.
React, Vue, and Next.js default to this second way of thinking.
It's not that one is better; what you're building decides which fits.
Tab indents. To leave the editor, press Esc, then Tab.
Create a free account to keep reading
With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.
Report a problem with this lesson
Log in to send a report.