React Router Devtools
@tanstack/react-router-devtools
Modern and scalable routing for React applications
Routing
react
location
router
routing
async
async router
typescript
@tanstack/react-router-devtools
javascript
npm
Stars
15k
Weekly
3.1M
Open issues
612
Bundle
~25 kB
Installation
npm install @tanstack/react-router-devtoolsCode example
import { BrowserRouter, Routes, Route, Link } from "@tanstack/react-router-devtools";
export function Example() {
return (
<BrowserRouter>
<nav>
<Link to="/">Home</Link>
</nav>
<Routes>
<Route path="/" element={<h1>Home</h1>} />
</Routes>
</BrowserRouter>
);
}Pros & cons
Pros
- Actively maintained by Tanner Linsley
- 3.1M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 612 open issues on GitHub