Recent posts tagged react-router

Description for Tag: "react-router"

A popular routing library for React to manage navigation and rendering components.
Kevin Martinez • Jun 15 • in Articles • 6 min read
You wrote a React Router v7 route. It has a loader, an action, a form, some interactivity. Now you want to test it. The official docshttps://reactrouter.com/start/framework/testing hand you two paths and neither one covers the case you actually have....
  • frontend
  • twd
  • react-router
Kevin Martinez • Jul 28, 2025 • in Tutorials • 4 min read
We continue with the sixth part of this series on React Router Data Mode. This time, we'll talk about actions: one of the key pieces for data handling that React Router offers. If you're coming from the previous posthttps://coderlegion.com/4297/rea...
  • react
  • frontend
  • react-router
Kevin Martinez • Jul 28, 2025 • in Tutorials • 2 min read
We continue with the fifth part of this series on React Router Data Mode. This time, it will be a brief post where we’ll do some refactors, review the useParams hook, and improve navigation with NavLink. If you’re coming from the previous posthttps...
  • react
  • react-router
  • frontend
Kevin Martinez • Jul 23, 2025 • in Tutorials • 4 min read
We continue with the fourth part of this series on React Router data mode. This time, we’ll dive deeper into loaders, first by adding a contact detail screen and then exploring hooks like useRouteLoaderData and useParams. If you’re coming from the ...
  • react
  • react-router
  • frontend
Kevin Martinez • Jul 7, 2025 • in Tutorials • 4 min read
Let's move on to the third part of this tutorial series. In this case, we'll look at a concept that comes from Remix and can now also be found in React Router: loaders. If you're coming from the previous tutorialhttps://coderlegion.com/3682/react-ro...
  • react
  • frontend
  • react-router
Kevin Martinez • Jul 4, 2025 • in Tutorials • 3 min read
In this second part of our React Router v7 tutorial, we will dive deeper into the routing system: how to nest views within a shared layout, how to navigate without reloading the page using Link, and how to add visual transitions for a smoother experi...
  • react
  • react-router
  • frontend
Kevin Martinez • Jun 27, 2025 • in Tutorials • 2 min read
In this series, we will focus on the Data Mode, which is undoubtedly my favorite for creating well-structured and maintainable SPAs. This series will have several parts, which you can see below: 1. Installation and first routes 2. Nested routes and...
  • react
  • react-router
  • frontend
Kevin Martinez • Jun 26, 2025 • in Articles • 3 min read
If you're reading this, you're probably working with React or learning how to use it. And if that’s the case, you’ve surely heard of react-router, the most popular library for routing in React apps for years. But what you may not know is that in its...
  • react
  • react-router
  • frontend
eze ernest • Feb 5, 2025 • in Articles • 7 min read
Artificial Intelligence AI has emerged as a transformative tool across industries. From automating repetitive tasks to generating creative content, it has become an ally to many. However, like any tool, its value lies in how we use it. When misapplie...
  • techie
  • ai
  • react
  • react-router
Dr Prime • Oct 3, 2024 • in Tutorials • 9 min read
React Public, Protected, and Private Routes: A Comprehensive Guide In certain applications, you might need to implement role-based authorization for your users to access certain pages and be restricted to others. For instance, in an e-commerce applic...
post-cover-396
  • react
  • react-router
  • private-route
  • protected-route
To see more, click for the full list of posts or popular tags.
chevron_left
🔥 10 posts • 👩‍💻 3 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile