๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Intermediate

What is SPA (Single Page Application)?

A web application that loads a single HTML page and dynamically updates content without full page reloads.

SPAs load once and use JavaScript to render content dynamically. Navigation happens client-side using the History API, creating a smooth, app-like experience without page refreshes. Data is fetched via AJAX/fetch API calls.

Popular SPA frameworks include React, Vue.js, and Angular. Challenges include SEO (solved by SSR/SSG), initial load time (code splitting), and browser history management. SPAs communicate with backends via REST or GraphQL APIs.

Related Terms

CSS Grid
A two-dimensional CSS layout system for creating complex grid-based designs with rows and columns.
Middleware
Software that sits between the request and response in a web application, performing processing like authentication or logging.
Cookie
A small piece of data stored in the browser by a website to remember user preferences, login state, or tracking information.
WebAssembly (Wasm)
A binary instruction format that enables near-native performance execution of code in web browsers alongside JavaScript.
CORS Preflight
An automatic OPTIONS request sent by browsers before certain cross-origin requests to check if the actual request is permitted.
Structured Data (Schema.org)
A standardized vocabulary for marking up web content so search engines can understand and display it as rich results.
View All Web Development Terms โ†’