Link tag inside BrowserRouter changes only the URL, but doesn’t render the component
There’s currently an incompatibility issue between react-router-dom@5 and react@18. Github Issue #7870 PR #8831 merged to address issue – It looks like a fix was merged on May 9th, 2022, so hopefully is released soon. Possible Solutions Revert back to React 17 (or React 17 syntax) and fix up the index.js file. import { StrictMode … Read more