title: Webpack is not compatible with react router dom v6?
body: <p>Some hours ago, i posted a question about, why my routes weren't working in my module-federation/react application, some people tried to help me, but they couldn't.</p>
  <p>I was using webpack so i can use microfronteds as components with react, and with TS, but, i had a big problem with my routes.</p>
  <p>( <strong>This is the link to the post</strong> <a href="https://stackoverflow.com/questions/70171086/my-routing-with-react-router-dom-route-not-working?noredirect=1#comment124047246_70171086">My routing with React router dom, &lt;Route /&gt; not working</a> ).</p>
  <p>Then i said, you know what, i'll do this with pure JS, i'm pretty sure there was a problem with ts config or something like that.</p>
  <p>Then, after migrating everything everything to simple JS, my routes with react-router-dom are not working as before.</p>
  <p>Is there a posibility that, the new version of react-router-dom ( <a href="https://reactrouter.com/docs/en/v6/getting-started/overview" rel="nofollow noreferrer">https://reactrouter.com/docs/en/v6/getting-started/overview</a> ) and webpack do not match ? This sounds weird, but i don't see other way to figure this out.</p>