Closed Phecda closed 2 years ago
This commit makes react router hooks (i.e., useLocation and useRouteMatch) valid in ssr mode.
Related doc: https://v5.reactrouter.com/web/api/StaticRouter/location-string
This commit makes react router hooks (i.e., useLocation and useRouteMatch) valid in ssr mode.
Related doc: https://v5.reactrouter.com/web/api/StaticRouter/location-string