Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove state from location on page load in react router dom

history.replace('', null);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #state #location #page #load #react #router #dom
ADD COMMENT
Topic
Name
9+1 =