You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> This example demonstrates a custom integration of React Router with RSC using `@vitejs/plugin-rsc`. While React Router now provides [official RSC support](https://reactrouter.com/how-to/react-server-components), this example represents a less official setup that predates the official implementation. It's kept for posterity and as an alternative approach for those who prefer this integration method.
6
+
> React router now provides [official RSC support](https://reactrouter.com/how-to/react-server-components) for Vite. The example might not be kept up to date with the latest version. Please refer to React router's official documentation for the latest updates.
7
7
8
-
This example demonstrates how to integrate React Router with React Server Components using `@vitejs/plugin-rsc`.
8
+
Vite RSC example based on demo made by React router team with Parcel:
See also [`rsc-movies`](https://github.com/hi-ogawa/rsc-movies/).
15
15
16
16
[](https://stackblitz.com/github/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/react-router?file=src%2Froutes%2Froot.tsx)
0 commit comments