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: CHANGELOG.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,31 @@ If you think ShakaCode can help your project, [click here](https://meetings.hubs
15
15
Please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version.
16
16
17
17
## Versions
18
-
### [Unreleased]
19
-
Changes since the last non-beta release.
18
+
### [15.0.0-alpha.2]
19
+
#### Added
20
+
- 🚀 **Introducing React Server Components Support!** 🎉
21
+
- Experience the future of React with full RSC integration
22
+
- Seamlessly use React Server Components in your Rails apps
23
+
- Reduce client bundle sizes
24
+
- Enable powerful new patterns for data fetching
25
+
- ⚡️ Requires React on Rails Pro - [See the full tutorial](https://www.shakacode.com/react-on-rails-pro/docs/react-server-components-tutorial)
26
+
27
+
[PR 1644](https://github.com/shakacode/react_on_rails/pull/1644) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
28
+
29
+
#### Improved (Breaking)
30
+
- Improved component and store hydration by removing page load dependency:
31
+
- Components and stores now hydrate immediately rather than waiting for page load
32
+
- Enables faster hydration, especially beneficial for streamed pages
33
+
- Components can hydrate before the page is fully streamed
34
+
- Can use `async` scripts in the page with no fear of race condition. You don't have to use `defer` anymore.
35
+
- To disable this behavior, set `force_load: false` in the `react_component` helper or `force_load` configuration
36
+
- The `force_load` configuration and `react_component` option `force_load` is not a new option, but in old versions of React on Rails, could be used only with turbo streams to prevent race condition.
37
+
- Breaking changes:
38
+
-`ReactOnRails.reactOnRailsPageLoaded` is now an async function
39
+
-`force_load` configuration now defaults to `true` (previously `false`)
40
+
-`force_load` configuration and `react_component` option `force_load` are now always enabled by default since race conditions are no longer a concern
41
+
42
+
[PR 1656](https://github.com/shakacode/react_on_rails/pull/1656) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
0 commit comments