react-router-guards
JSON →Provides a middleware API for React Router (v5), allowing developers to run guard functions between navigation and route rendering. Currently at version 1.0.2, it is stable but not actively maintained (last update 2019). Key features include GuardProvider and GuardedRoute components, support for meta data on routes, loading/error components, and TypeScript types. Unlike simple auth wrappers, it offers a full lifecycle with next() callbacks for redirects, async guards, and error handling.
Traffic · last 30 days ↓40% vs prev 7d
total hits 17
actors 6 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India · 🇪🇸 Spain · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/react-router-guards
compatibility /v1/registry/react-router-guards/compatibility