DEV Community

Cover image for react-router-dom question: should I wrap BrowserRouter around strict mode?
Richard
Richard

Posted on

react-router-dom question: should I wrap BrowserRouter around strict mode?

Discussion (1)

Collapse
stefanwrightcodes profile image
Stefan Wright

I do not believe so, I believe it should wrap your App component, you will have the router, and then the routes, with their child components.