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>
Source by upmostly.com #
 
PREVIOUS NEXT
Tagged: #link #reload #page #react
ADD COMMENT
Topic
Name
6+3 =