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?

Top comments (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.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay