Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react-router-dom redirect

<Route path="/somePath" element={<Navigate replace to="/" />} />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect
ADD COMMENT
Topic
Name
4+8 =