react-router
universal-router
react-router | universal-router | |
---|---|---|
172 | 1 | |
53,765 | 1,724 | |
0.9% | 1.2% | |
9.9 | 3.2 | |
6 days ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-router
- A journey from Next.js to React Router (remix)
-
🍞 React Router v7: The Problem with Toasts After Form Submissions
Recently, I was working on a React Router v7 application where I needed to display a toast notification after a (un)successful form submission. Naturally, I used an action to return the submission status and utilized it inside a useEffect to trigger the toast. Here's what my initial code looked like:
-
Engage Users Instantly: Embed an Interactive Demo in your React SPA
+import { MemoryRouter, UNSAFE_LocationContext } from 'react-router' export const InteractiveDemo = () => { return ( + // Hack to nest MemoryRouter inside BrowserRouter. + // https://github.com/remix-run/react-router/issues/7375 + + + + ) }
-
17 Tips from a Senior React Developer
A simple React, Vite, and react-router setup can go a long way.
-
React + AI Stack for 2025
Now, I'm not saying it's the only option. Remix is still awesome for full-stack apps, and there's this new kid on the block called Tanstack Start that's doing some cool things so make sure to keep an eye out. And hey, if you just need routing, React Router V7 was recently launched.
-
14 Must-Have React Libraries Every Beginner Developer Should Know in 2025: 🚀
The standard for handling navigation in React apps. It allows you to handle navigation between different components and pages seamlessly. đź”—reactrouter.com
-
Migrating from react-router to wouter
react-router adds about 30 kB (minified) to your bundle, while wouter requires less than 4 kB. Although the react-router team has made significant efforts in version 7 to optimize its bundle size, it still feels excessive if your primary task is simply switching between a few routes.
-
Building a Scalable URL Shortener with Node.js (Part 2/2)
react-router-dom: Enables client side routing.
- 14 Super Useful React Libraries You Should Know
-
Navigate the React Developer Landscape in 2024: Essential Skills and Trends
React Router Documentation
universal-router
-
Routing in React with Universal Router
A quick showcase of UniversalRouter (1.6kB zip) as an "easy" alternative to React Router.
What are some alternatives?
wouter - 🥢 A minimalist-friendly ~2.1KB routing for React and Preact
monorouter - An isomorphic JS router
Router5 - Flexible and powerful universal routing solution
react-router-redux
react-router-component - Declarative router component for React.
redux-router - Redux bindings for React Router – keep your router state inside your Redux store
router - 🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
redux-first-history - Redux history binding support react-router - @reach/router - wouter - react-location
react-breadcrumbs - Automatic breadcrumbs for React-Router
bolt.new - Prompt, run, edit, and deploy full-stack web applications
auth0-react - Auth0 SDK for React Single Page Applications (SPA)