Reactjs – React Routers MemoryRouter does not work as expected when given a basename prop
For some reason, I struggle alot with getting the MemoryRouter to render Routes when I supply a basename prop to the url. I made an example demonstrating what I mean here: https://codesandbox.io/p/sandbox/memory-router-woes-hmt5mn?file=%2Fsrc%2FApp.tsx I want my router to render routes under…