redux-query-sync
redux-query-sync copied to clipboard
Synchronise URL query parameters and redux state.
Adds an onParamsActionsCompleted action creator which is dispatched after all params action creators are dispatched. This is useful for situations where different you need to issue one final action after...
I was under the impression that omitting `replaceState` from the options would allow the user to cycle back through the selections they made using the back button, and that's sort...
Thank you so much for this library. It's saved me so much hassle, and I think it's the correct way to think about state and url as a window into...
I have situation where a single query key is used multiple times to provide several values. The underlying `URLSearchParams` supports this case, but in [getQueryValues](https://github.com/Treora/redux-query-sync/blob/master/src/redux-query-sync.js#L61) the code uses only the...
Let's say I have two query params: `start` & `end`. Is there a way to say, if `start` is passed in, then `end` must also be set, and vice versa,...
Hey! I opened this issues because I ran into a small hick. `URLSearchParams` encodes the query string by default, so this: `date=12/04/2018&other=1,2,3,4` Becomes this: `date=12%2F04%2F2018&other=1%2C2%2C3%2C` For my case, I was...
Hello! Firstly, thank you for working on this! It's coming in very handy. I have a question of sorts. I know that per [RFC](https://tools.ietf.org/html/rfc3986#page-11) rules, querystrings are case sensitive. However,...
We now either have to choose whether the URL params initially overwrite the state, or the state overwrites the URL, but sometimes you may want to incorporate information from both....
How would I go about unit-testing my usage of `ReduxQuerySync()`, or is there any way to without doing a fuller integration / acceptance test where I use a bunch of...
Rather than setting the `defaultValue` for each parameter separately, and to have a single point of truth, I would like the default value to be inferred automatically from the store's...