New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Params of type json are not deserialized properly #671
Comments
This issue has been automatically marked as stale because it has not had This does not mean that the issue is invalid. Valid issues may be reopened. Thank you for your contributions! |
This issue has been automatically closed. |
I believe this is fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using param of type
json
is causing errorUnexpected token % in JSON at position 0
.Steps to reproduce:
npx create-react-app router-json-issue --template typescript --use-npm
"@uirouter/react": "^1.0.3",
index.tsx:
App.tsx:
When using a button in
App.tsx
to navigate to a different state with updatedfilter
, it ends up on proper URL http://localhost:3000/home?filter=%7B%22resourceType%22%3A%22vm%22%7D , but following error is in error console:Same error occurs if I try to reload the page with param filter in the URL.
The text was updated successfully, but these errors were encountered: