🌐Single-Page Application (SPA)
Also known as SPA, Single Page App
A web app that loads one page once, then changes it with JavaScript.
Think of it like
Think of it like a puppet show with one stage. The puppets change, but the stage stays put.
Example
Lucy's email in the browser is an SPA. When she opens a message, only the middle part of the screen changes.
Why it matters
SPAs feel smooth and quick once loaded. Many web apps are built this way.
Definition
Common mistake
Key takeaways
- 1One page. Loaded once, then changed.
- 2Data, not pages. Only data comes from the server.
- 3Slow first load. All the code comes up front.