Skip to content

Commit f1c1883

Browse files
linting
1 parent d678ca8 commit f1c1883

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ To migrate to React on Rails Pro:
7474
**Note:** If you're not using any of the Pro-only methods listed above, no changes are required.
7575

7676
- **Pro-Specific Configurations Moved to Pro Gem**: The following React Server Components (RSC) configurations have been moved from `ReactOnRails.configure` to `ReactOnRailsPro.configure`:
77+
7778
- `rsc_bundle_js_file` - Path to the RSC bundle file
7879
- `react_server_client_manifest_file` - Path to the React server client manifest
7980
- `react_client_manifest_file` - Path to the React client manifest
@@ -99,6 +100,7 @@ To migrate to React on Rails Pro:
99100
See the [React on Rails Pro Configuration docs](https://github.com/shakacode/react_on_rails/blob/master/react_on_rails_pro/docs/configuration.md) for more details.
100101

101102
- **Streaming View Helpers Moved to Pro Gem**: The following view helpers have been removed from the open-source gem and are now only available in React on Rails Pro:
103+
102104
- `stream_react_component` - Progressive SSR using React 18+ streaming
103105
- `rsc_payload_react_component` - RSC payload rendering
104106

docs/api-reference/view-helpers-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ end %>
139139
### stream_react_component
140140

141141
Progressive server-side rendering using React 18+ streaming with `renderToPipeableStream`. This enables:
142+
142143
- Faster Time to First Byte (TTFB)
143144
- Progressive page loading with Suspense boundaries
144145
- Better perceived performance
@@ -148,6 +149,7 @@ See the [Streaming Server Rendering guide](../building-features/streaming-server
148149
### rsc_payload_react_component
149150

150151
Renders React Server Component (RSC) payloads in NDJSON format for client-side consumption. Used in conjunction with RSC support to enable:
152+
151153
- Reduced JavaScript bundle sizes
152154
- Server-side data fetching
153155
- Selective client-side hydration

0 commit comments

Comments
 (0)