Skip to content

chore(rsc): update React Router RSC references #581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/plugin-rsc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ npx degit vitejs/vite-plugin-react/packages/plugin-rsc/examples/starter my-app
- [`./examples/starter`](./examples/starter)
- This example provides an in-depth overview of API with inline comments to explain how they function within RSC-powered React application.
- [`./examples/react-router`](./examples/react-router)
- This demonstrates how to integrate [experimental React Router RSC API](https://remix.run/blog/rsc-preview) with this plugin.
It also includes `@cloudflare/vite-plugin` integration.
- This demonstrates how to integrate [experimental React Router RSC API](https://remix.run/blog/rsc-preview). React Router now provides [official RSC support](https://reactrouter.com/how-to/react-server-components), so it's recommended to follow React Router's official documentation for the latest integration.
- [`./examples/basic`](./examples/basic)
- This is mainly used for e2e testing and include various advanced RSC usages (e.g. `"use cache"` example).
It also uses a high level `@vitejs/plugin-rsc/extra/{rsc,ssr,browser}` API for quick setup.
Expand Down
3 changes: 3 additions & 0 deletions packages/plugin-rsc/examples/react-router/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

https://vite-rsc-react-router.hiro18181.workers.dev

> [!NOTE]
> 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 integrations.

Vite RSC example based on demo made by React router team with Parcel:

- https://github.com/jacob-ebey/parcel-plugin-react-router/
Expand Down
Loading