Client-side Routing Concepts
Learn SPA routing concepts: paths map to views, navigation updates URL and UI without full reload; simple hash-based demo.
What is client-side routing?
Goal: See how client-side routing lets apps switch screens without reloading the page.
- SPA vs full page reload
- Path → view mapping
- History updates
SPA vs MPA
SPA: one HTML page, JS swaps views. MPA: server sends a new page per URL. SPAs feel faster because navigation avoids full reloads.
All lessons in this course
- Client-side Routing Concepts
- Nested Routes & Route Params
- Navigation Links & Active States