Skip to content
Advertisement

Tag: react-router-dom

Error: Absolute route path “/” nested under path “/app” is not valid

I suddenly get this error and not sure why.I did not change the “react-router-dom”: “^6.0.0-beta.4” version. But the “react-dom”: “^16.8.4″” had changed to “react-dom”: “^16.13.1”, Dunno if that had anything to do with I don’t know but the useRoutes comes from “react-router-dom” and that’s where the error originate ya. Anyone have a clue? Here is my App.jsx where i use

Advertisement