DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+8 =
Submit