Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

link reload page react

//Go to link and refresh the page
<a onClick={() => {window.location.href="/something"}}>Something</a>
 
PREVIOUS NEXT
Tagged: #link #reload #page #react
ADD COMMENT
Topic
Name
4+6 =