issues
search
fenok
/
react-router-typesafe-routes
Comprehensive and extensible type-safe routes for React Router v6 with first-class support for nested routes and param validation.
MIT License
145
stars
3
forks
source link
Switch to the latest React Router version
#23
Closed
fenok
closed
1 year ago
fenok
commented
1 year ago
React Router now provides functional updates for
setSearchParams
, so we can remove that from the library and rely on React Router implementation.
React Router now
supports
optional path segments, so we need to support that too.
Looks like we have to wait for v6.6.3
https://github.com/remix-run/react-router/issues/9736
There is also no parity between patterns for
<Route>
and
matchPath
in case of optional params
https://github.com/remix-run/react-router/discussions/9862
,
https://github.com/remix-run/react-router/issues/9933
There is a potential bug with absolute child route paths
https://github.com/remix-run/react-router/issues/9925
There are some problems with nested
<Routes />
https://github.com/remix-run/react-router/issues/9929
<Route>
andmatchPath
in case of optional params https://github.com/remix-run/react-router/discussions/9862, https://github.com/remix-run/react-router/issues/9933<Routes />
https://github.com/remix-run/react-router/issues/9929