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.
I've noticed that if a path is not defined in the routes and you have any code that relies on state.router.params.someParam, it needs to first check if params is defined to safely get it.
This isn't a huge problem as it's easy to workaround, but it's inconsistent with state.router.query which is always defined, even on unknown routes.
Personally, it'd be convenient if params was always there, even as an empty object.
Thoughts?
The text was updated successfully, but these errors were encountered:
I hade a similar problem du to special characters in the url, make shure each part of the url is encodeURIComponent('123=') before addining it to the url
I've noticed that if a path is not defined in the
routes
and you have any code that relies onstate.router.params.someParam
, it needs to first check ifparams
is defined to safely get it.This isn't a huge problem as it's easy to workaround, but it's inconsistent with
state.router.query
which is always defined, even on unknown routes.Personally, it'd be convenient if
params
was always there, even as an empty object.Thoughts?
The text was updated successfully, but these errors were encountered: