I'm new with React-router-dom 6^4 lib. Have a trouble.
Using c-r-a template, already have 2 simple components (Log In Form and Sign Up Form).
According to the docs I must create an instance of BrouserRouter in the entry point.
Then add my components to router as children
,
and create links in App component
In the end i see links, React-router-dom concatenates the URLs I passed to 'path' prop, but there isn`t any render occured. Where did I make a mistake?
All required imports are kept. Maybe I should pass to the 'path' prop relative path to my comp, but it isn`t work too.
Git
View on Stack Overflow
