Best of React Router — 2024
- 1
- 2
freeCodeCamp·2y
How to Use React Router to Build Single Page Applications
Single Page Applications (SPAs) provide a dynamic and fluid user experience by loading a single HTML page and updating it dynamically. React Router DOM is a library that manages navigation and routing in React web applications. This post covers its core concepts, including BrowserRouter, Routes, Route, Link, NavLink, Outlet, and hooks like useNavigate and useParams. It also demonstrates how to set up and use React Router DOM to build seamless navigation in SPAs.
- 3
- 4
Community Picks·2y
I used react-router but not for routing
Discover how a React developer repurposed react-router for string interpolation instead of using it for routing. The developer sought to avoid adding external libraries and found an existing function within react-router that met their needs while ensuring strong typing. The takeaway is to explore existing project dependencies for potential hidden functionalities to maintain performance, which is crucial for certain applications.
- 5
- 6
freeCodeCamp·2y
How to Implement Dynamic Segments with useParams in React Router
Learn how to implement dynamic segments in React Router to render new content on the same page without making a request from the server. Explore the differences between dynamic routing and static routing, and understand how to use the useParams hook.
- 7
freeCodeCamp·2y
Comprehensive Full Stack React with Appwrite – Tutorial
Learn how to use React and Appwrite to create full stack applications in this comprehensive course. The course covers React basics, advanced concepts, and integration with modern tools like Redux-Toolkit and Tailwind. It also includes a deep dive into Appwrite for full-stack development. Watch the full 13-hour course on the freeCodeCamp.org YouTube channel.