Reactjs – How do I merge two sets of routes under one path in React Router v6
I have two sets of routes defined in different files. I want them both to be appended to the same path. There is no overlap in the route names. e.g. const EditRoutes = () => <Routes> <Route path=":id/edit" element={<EditPage />}…