I am building a component that dis displaying a table of data. As they add and remove filters to that data, I would like modify the queryString with replaceState, but as far as I can see there is no method to do that.
Is there a way to tell the transition to use replaceState rather than pushState?
Specify history on your contextTypes, then call this.context.history.replaceState.
If you're using React.createClass, you can also use the History mixin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With