Router: React Router
I am rebuilding my site with React Static but it ships with reach-router. But this thing suffers from an unacceptable dvitis, so can I just use react-router?
Status ❌ Obsolete
Obsolete, since React Static was replaced with Astro.
Decision
Remove reach-router (bundled with React Static) and replace it with react-router.
Why
reach-routerdivitis is unacceptable
Trade-offs
- because now using
react-routerinstead, need to implement accessible routing by hand
Read more
@reach/routerissues- provide a way to disable rendering
divfor Router - provide a way to disable rendering
divfor Router react-staticinterfering with@reach/routerset focus, opened an issue here
- provide a way to disable rendering