Multiple Pages In Single-Page Apps
- What & Why?
- Using React Router
- Data Fetching & Submission
Building SPAs
- When building complex user interfaces, we typically build Single Page Applications (SPAs)
- Only one initial HTML request & response
- Page (URL) changes are then handled by client-side React code
- Visible content is changed without fetching a new HTML file