You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/streaming-server-rendering.md
+23-7Lines changed: 23 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ React on Rails Pro supports streaming server rendering using React 18's latest A
7
7
- React on Rails Pro subscription
8
8
- React 18 or higher (experimental version)
9
9
- React on Rails v15.0.0-alpha.0 or higher
10
+
- React on Rails Pro v4.0.0.rc.5 or higher
10
11
11
12
## Benefits of Streaming Server Rendering
12
13
@@ -29,23 +30,32 @@ First, ensure you're using React 18's experimental version in your package.json:
29
30
}
30
31
```
31
32
33
+
> Note: Check the React documentation for the latest release that supports streaming.
34
+
32
35
2.**Prepare Your React Components**
33
36
34
37
You can create async React components that return a promise. Then, you can use the `Suspense` component to render a fallback UI while the component is loading.
0 commit comments