轻量级、功能齐全的React.js路由库。

趋势

Getting Started

React Router is a multi-strategy router for React. You can use it maximally as a Framework or minimally as a library with your own architecture. Check out the Getting Started docs and choose the mode that works best for your app.

Packages

Package Description Modes
react-router Core Framework, Data, Declarative
create-react-router Project creation Framework
@react-router/dev Development tooling Framework
@react-router/node Node.js Adapter Framework
@react-router/serve Web Server Framework
@react-router/express Express Adaptrer Framework
@react-router/architect Architect Adapter Framework
@react-router/cloudflare Cloudflare Adapter Framework
@react-router/fs-routes File-system routes Framework

Previous Versions

Looking for docs for an earlier version of React Router?

关于
Declarative routing for React
56.6 k
11.0 k
802
语言
TypeScript
JavaScript
CSS
Shell
MDX
99.12%
0.59%
0.24%
0.03%
0.02%