Reactjs – React – get parameters from route path in another component
I tried to find it, but I couldn't do it. I tested many results but the effects were disappointing (sometimes like my work :P) So I have this structure of application: <BrowserRouter> <Menu/> <Routes> <Route path="/business/:id" element={<SomePage />} /> </Routes>…