Arguments
- ...
Routeelements.
Details
Optional compatibility alias. In R, createHashRouter,
createBrowserRouter, and createMemoryRouter
accept Route elements directly, so wrapping them in
createRoutesFromElements() is not required. The function is kept
so that examples copied verbatim from the React Router v7 documentation
(createHashRouter(createRoutesFromElements(...))) keep working.
The actual JSX-to-route-object conversion always happens on the JavaScript side; this R function simply bundles its arguments into a tag list.
