Tag view

#spa

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with spa

2 cards

React Medium Theory

Routing in React: SPA routing, React Router, params, nested routes, and protected routes

Single-page applications need client-side routing so different URL paths map to different UI states without full page reloads.

  • React Router is the common library
  • Routes, Route, Link, NavLink, and useNavigate are core concepts
  • Protected routes add auth-aware navigation guards

Routing in React: SPA routing, React Router, params, nested routes, and protected routes