In Routes, i have a component with logic inside.
the component is generic depending on the context it gets from the route.
(I moved from react-router-dom V5)
<Routes>
<Route
exact
path="/users"
element={<ClientRelated context="users" />}
/>
<Route
exact
path="/technicians"
element={<ClientRelated context="technicians" />}
/>
</Routes>
in V6, how can I pass the context so the component will work according to the context from the app ?