Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to refresh a react router linkwhen you click on it again

export const Page = () => {
   const location = useLocation();
   return <PageImpl key={location.key} />
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #refresh #react #router #linkwhen #click
ADD COMMENT
Topic
Name
1+8 =