How to clear location state after navigating to some path in reactJS?

Posted by Jessica Taylor | Updated on

Want to clear location state after navigating to some path in ReactJS? I think that you can use browserHistory replace method to replace history state with new one without someValue defined:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers