Ross ROSS = Recommend OSS · open-source software intelligence for agents

CJY0208/react-router-cache-route

Route with cache for react-router V5 like <keep-alive /> in Vue observed · 2026-08-28

github.com/CJY0208/react-router-cache-route · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2990
  • days_rel: n/a
  • days_push: 651
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1177 stars · 113 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A React library providing CacheRoute and CacheSwitch components that cache route components instead of unmounting them, similar to Vue's <keep-alive>. It works only with React Router v4/v5 and React v15+.

Use cases

  • preserve form state when navigating away and back
  • keep list scroll position when opening a detail page
  • avoid refetching data when returning to a cached route
  • keep component interaction state across route changes in React Router v5
  • implement keep-alive behavior like Vue in a React app

When to choose

  • you use React Router v4 or v5 and need cached routes
  • you lose form input or scroll state when switching routes
  • you want Vue-style keep-alive semantics in React

When to avoid

  • you use React Router v6 or later (unsupported)
  • you only need KeepAlive without routing (use react-activation instead)
  • you are starting a new project on modern React Router

Facets

library · maturity maintenance

routing state-management caching web-development frontend browser react-router keep-alive react route-caching v5-only nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
CJY0208/react-router-cache-routemain23

For agents

markdown · JSON · MCP: product_card(name="CJY0208/react-router-cache-route")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem