Skip to content

Commit bc207ed

Browse files
committed
Document RSC payload route requirement
1 parent 4bed0f2 commit bc207ed

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

docs/oss/building-features/client-side-routing-instant-navigation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ The starter is **a React-routed island inside a normal Rails app**, not a framew
1919

2020
## Requirements
2121

22-
| Capability | Needs |
23-
| ------------------------------------ | -------------------------------------------------------------------------------------- |
24-
| Client-only TanStack Router (no SSR) | Open-source React on Rails — it's just a React app |
25-
| SSR of the initial route | **Pro**: Node Renderer + `config.rendering_returns_promises = true` |
26-
| `RSCRoute` server-component routes | **Pro**: RSC support enabled (`enable_rsc_support`, `rsc_payload_generation_url_path`) |
22+
| Capability | Needs |
23+
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
24+
| Client-only TanStack Router (no SSR) | Open-source React on Rails — it's just a React app |
25+
| SSR of the initial route | **Pro**: Node Renderer + `config.rendering_returns_promises = true` |
26+
| `RSCRoute` server-component routes | **Pro**: RSC support enabled (`enable_rsc_support`, `rsc_payload_generation_url_path`) and the matching `rsc_payload_route` mounted in `config/routes.rb` |
2727

2828
See [Using TanStack Router](./tanstack-router.md) for the SSR helper details and [React Server Components inside client components](../../pro/react-server-components/inside-client-components.md) for `RSCRoute`.
2929

llms-full.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5088,11 +5088,11 @@ The starter is **a React-routed island inside a normal Rails app**, not a framew
50885088

50895089
## Requirements
50905090

5091-
| Capability | Needs |
5092-
| ------------------------------------ | -------------------------------------------------------------------------------------- |
5093-
| Client-only TanStack Router (no SSR) | Open-source React on Rails — it's just a React app |
5094-
| SSR of the initial route | **Pro**: Node Renderer + `config.rendering_returns_promises = true` |
5095-
| `RSCRoute` server-component routes | **Pro**: RSC support enabled (`enable_rsc_support`, `rsc_payload_generation_url_path`) |
5091+
| Capability | Needs |
5092+
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
5093+
| Client-only TanStack Router (no SSR) | Open-source React on Rails — it's just a React app |
5094+
| SSR of the initial route | **Pro**: Node Renderer + `config.rendering_returns_promises = true` |
5095+
| `RSCRoute` server-component routes | **Pro**: RSC support enabled (`enable_rsc_support`, `rsc_payload_generation_url_path`) and the matching `rsc_payload_route` mounted in `config/routes.rb` |
50965096

50975097
See [Using TanStack Router](./tanstack-router.md) for the SSR helper details and [React Server Components inside client components](../../pro/react-server-components/inside-client-components.md) for `RSCRoute`.
50985098

0 commit comments

Comments
 (0)