React Router (Basic Routing)
Learn React Router (Basic Routing) (Fundamentals of React, ReactJS) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Client-Side Routing A Single Page Application has only ONE actual HTML page - "navigating" between "pages" just swaps out which components are rendered, without a full page reload. react-router-dom is the standard library that makes this URL-driven navigation possible in React.
More lessons in Fundamentals of React
- Introduction to ReactJS
- Single Page Application (SPA)
- Installing Node.js & npm
- JSX Syntax and Rules
- Components (Functional vs Class)
- Props in React
- State and the useState Hook
- Event Handling in React
- Conditional Rendering
- Lists and Keys
- Forms and Controlled Components
- useEffect Hook and Side Effects
- Context API
- Component Lifecycle