RouterProvider in example
Closed this issue · 1 comments
istarkov commented
Am I right that the only need in RouterProvider
in readme is to support Link
element from React router5 package?
May be it will be better to remove it from documentation?
troch commented
Pretty much. RouterProvider adds your router to your app context, so it can be used by components which need it. That can be the Link
component from react-router5, or any other home made Link / Nav component. I'll clarify this in the docs.