salvoravida/redux-first-history

Uncaught Error: useRoutes() may be used only in the context of a <Router> component.

Closed this issue · 1 comments

Hi,

I am getting the error in the title. I can fix it by wrapping from the package with , but that's against the documentation and the provided example there.

Can you please help me out, what could have I done wrong here?

can you provide a codesandbox demo?