docs: add client side routing guide to RAC Link page (#9992)
* docs: restore client side routing / RouterProvider section in frameworks.mdx ♜
The previous `routing.html` page covered `RouterProvider` setup in detail
(general API, React Router, Next.js app/pages router, Remix, TanStack
Router) but is no longer linked from the new docs and `react-aria.adobe.com/routing`
returns 404. The new `frameworks.mdx` page only mentions `RouterProvider`
in passing inside the React Router (framework mode) tab and does not
explain how to set it up.
This restores the old detailed routing content as a 'Client side routing'
section at the top of `frameworks.mdx`, ahead of the existing locale and
bundler tabs (now grouped under 'Locale and bundler setup').
Co-authored-by: Rook <rook@rook.is>
* docs: split client side routing setup across framework tabs ♜
Move the framework-specific RouterProvider setup into the existing
Next.js, React Router, and a new TanStack Router tab in frameworks.mdx,
rather than as one long section above all tabs.
- Keep a brief 'Client side routing' intro above the tabs covering the
general RouterProvider API and routerOptions.
- Next.js tab: App Router (RouterProvider in client provider, plus
optional basePath/useHref) and a 'Pages router' subsection.
- React Router tab: framework-mode RouterProvider wired into the root
layout, plus 'Declarative mode' and 'Remix' subsections.
- New TanStack Router tab documents the createLink approach
(RouterProvider not needed).
- Bundler tabs (Parcel/Vite/webpack/Rollup/ESBuild) unchanged.
Co-authored-by: Rook <rook@rook.is>
* docs: explain client side routing via render prop instead of RouterProvider ♜
Replace the dead ./frameworks link on the Link docs page with a new
'Client side routing' section showing the render prop pattern for
Next.js and React Router. Update getting-started.mdx to point to the
Link docs for routing setup instead of the frameworks page.
Revert previous changes to frameworks.mdx and remove TanStackRouter icon.
Co-authored-by: Rook <rook@rook.is>
---------
Co-authored-by: Rook <rook@rook.is>