React Start Server
@tanstack/react-start-server
Modern and scalable routing for React applications
Routing
react
location
router
routing
async
async router
typescript
@tanstack/react-start-server
javascript
npm
Stars
15k
Weekly
12M
Open issues
612
Bundle
~15 kB
Installation
npm install @tanstack/react-start-serverCode example
import { BrowserRouter, Routes, Route, Link } from "@tanstack/react-start-server";
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
- 12M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~15 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 612 open issues on GitHub