Skip to content

Commit 2c4c1bb

Browse files
hi-ogawaclaude
andcommitted
docs(rsc): improve React Router reference documentation clarity
- Split long sentence for better readability - Standardize "React Router" capitalization - Clarify guidance to use official React Router documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent d9a0901 commit 2c4c1bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/plugin-rsc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +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 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.
25+
- 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.
2626
- [`./examples/basic`](./examples/basic)
2727
- This is mainly used for e2e testing and include various advanced RSC usages (e.g. `"use cache"` example).
2828
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 integrations.
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)