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
If one keeps most of one’s state in the query string (vs. the path), one usually wants to update just the query string, without touching the path. This is how I did it – does that look OK?
// In my custom onClick handler:this.context.history.pushState({},this.context.location.pathname,{someKey: someValue});// Via a <Link><Linkto={this.context.location.pathname}query={{selected: ''}}>Clear selected</Link>
If one keeps most of one’s state in the query string (vs. the path), one usually wants to update just the query string, without touching the path. This is how I did it – does that look OK?
Suggestion – mention here: https://github.com/rackt/history/blob/master/docs/QuerySupport.md
The text was updated successfully, but these errors were encountered: