You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
url-patterns supports custom pattern syntax (doc). redux-little-router does not use url-pattern directly, but does use its syntax. If I use the default url-pattern syntax, I am able to access state.router.params, which has the parameters parsed from the URL. However, if I use a UrlPattern with custom syntax, state.router.params is undefined. I can accomplish the same effect by using urlPattern.match(state.router.pathname), but that requires importing my UrlPattern wherever I need to do that. It would be great if redux-little-router supported custom syntax in UrlPatterns, maybe as an additional parameter in routerForBrowser?
The text was updated successfully, but these errors were encountered:
url-patterns supports custom pattern syntax (doc). redux-little-router does not use url-pattern directly, but does use its syntax. If I use the default url-pattern syntax, I am able to access
state.router.params
, which has the parameters parsed from the URL. However, if I use aUrlPattern
with custom syntax,state.router.params
is undefined. I can accomplish the same effect by usingurlPattern.match(state.router.pathname)
, but that requires importing myUrlPattern
wherever I need to do that. It would be great if redux-little-router supported custom syntax inUrlPattern
s, maybe as an additional parameter inrouterForBrowser
?The text was updated successfully, but these errors were encountered: