-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
query serialize/parse with Link #3480
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
Comments
Use your own parser if you'd like: https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md#custom-query-string-parsing |
@timdorr This was exactly what I did (I found this before) as can be seen in the text of issue. I'm looking into https://github.com/reactjs/react-router/blob/cbdc49442aba5cc6f225ff5546ac5f4a217fa4ec/docs/API.md and not sure if I need to replace Can you reopen it, please? |
|
@timdorr I went over the source and I do not see any gotchas :(. I'd like to reproduce problem on jsbin but I'm having problem with setting the environment correctly with qs and history. I'll come back once I'd be able to reproduce there. Thanks. |
Closing again pending lack of repro. |
Version
2.0.0
Test Case
not able to make it on jsbin.
Steps to reproduce
When I have
?foo[bar]=baz
in querystring, it will throw:Expected Behavior
When supported to the Router own de/serializer for query, I'd like it to be able to use nesting with querystring.
Actual Behavior
Only the flat structure (with arrays) is possble.
The text was updated successfully, but these errors were encountered: