Skip to content

Commit d9a0901

Browse files
committed
chore: tweak
1 parent b5159dc commit d9a0901

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/plugin-rsc/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ npx degit vitejs/vite-plugin-react/packages/plugin-rsc/examples/starter my-app
2222
- [`./examples/starter`](./examples/starter)
2323
- This example provides an in-depth overview of API with inline comments to explain how they function within RSC-powered React application.
2424
- [`./examples/react-router`](./examples/react-router)
25-
- This demonstrates a custom integration of React Router with RSC using this plugin. Note that React Router now provides [official RSC support](https://reactrouter.com/how-to/react-server-components), but this example is kept as an alternative approach.
26-
It also includes `@cloudflare/vite-plugin` integration.
25+
- This demonstrates how to integrate [experimental React Router RSC API](https://remix.run/blog/rsc-preview). Note that React Router now provides [official RSC support](https://reactrouter.com/how-to/react-server-components), so it's recommended to follow the update from React Router team for the latest integration.
2726
- [`./examples/basic`](./examples/basic)
2827
- This is mainly used for e2e testing and include various advanced RSC usages (e.g. `"use cache"` example).
2928
It also uses a high level `@vitejs/plugin-rsc/extra/{rsc,ssr,browser}` API for quick setup.

packages/plugin-rsc/examples/react-router/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
https://vite-rsc-react-router.hiro18181.workers.dev
44

55
> [!NOTE]
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.
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 integrations.
77
88
Vite RSC example based on demo made by React router team with Parcel:
99

0 commit comments

Comments
 (0)