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-router
divitis is unacceptable
Trade-offs
- because now using
react-router
instead, need to implement accessible routing by hand
Read more
@reach/router
issues- provide a way to disable rendering
div
for Router - provide a way to disable rendering
div
for Router react-static
interfering with@reach/router
set focus, opened an issue here
- provide a way to disable rendering