Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how can i use exact in react router dom v6

react router v6 doesn't support exact anymore. As stated in their documentation: You don't need to use an exact prop on <Route path="/"> anymore. This is because all paths match exactly by default.06-Nov-2021
 
PREVIOUS NEXT
Tagged: #exact #react #router #dom
ADD COMMENT
Topic
Name
6+3 =