-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
24 lines (19 loc) · 1.13 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: SPA (Single-page application)
slug: Glossary/SPA
page-type: glossary-definition
---
{{GlossarySidebar}}
An SPA (Single-page application) is a web app implementation that loads only a single web document, and then updates the body content of that single document via JavaScript APIs such as [Fetch](/en-US/docs/Web/API/Fetch_API) when different content is to be shown.
This therefore allows users to use websites without loading whole new pages from the server, which can result in performance gains and a more dynamic experience, with some tradeoff disadvantages such as SEO, more effort required to maintain state, implement navigation, and do meaningful performance monitoring.
## See also
- [Single-page application](https://en.wikipedia.org/wiki/Single-page_application) (Wikipedia)
- [Understanding client-side JavaScript frameworks](/en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks)
- Related glossary terms:
- {{Glossary("API")}}
- {{Glossary("AJAX")}}
- {{Glossary("JavaScript")}}
- Popular SPA frameworks:
- [React](https://react.dev/)
- [Angular](https://angular.dev/)
- [Vue.JS](https://vuejs.org/)