Answer the question
In order to leave comments, you need to log in
Does react router allow you to create a public component with its own routing?
I'm trying to use the useRouteMatch hook to create a component with my own routing
https://reacttraining.com//web/guides/quick-start section "Nesting" and as a result I get a
TypeError: useContext(...) is undefined
I'm like this I understand reacr-router requires one context for the entire application and not for a separate component
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question