An open API service indexing awesome lists of open source software.

https://github.com/rudolfolah/benchmark-routers-for-react

Benchmarking routers for React
https://github.com/rudolfolah/benchmark-routers-for-react

react react-router react-router-dom react-router-v5 react-router-v5-v6 react-router-v6 tanstack-router

Last synced: 4 months ago
JSON representation

Benchmarking routers for React

Awesome Lists containing this project

README

        

# Benchmark for React Routers

Benchmark comparison of:

* [React Router v6](https://reactrouter.com/en/main)
* [React Router v5](https://v5.reactrouter.com/)
* [TanStack Router](https://tanstack.com/router/v1)

## Running the benchmarks

Install the dependencies and run the benchmarks:

```bash
npm install
node index.js
```

Profilers in the Chrome DevTools and debugging:

```bash
node --inspect-brk index.js
```