react-on-rails 16.6.0-rc.0 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/clientStartup.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ rails generate react_on_rails:install
|
|
|
97
97
|
## Documentation
|
|
98
98
|
|
|
99
99
|
- [Getting Started](https://reactonrails.com/docs/getting-started/quick-start/)
|
|
100
|
-
- [Installation Guide](https://reactonrails.com/docs/getting-started/
|
|
100
|
+
- [Installation Guide](https://reactonrails.com/docs/getting-started/existing-rails-app/)
|
|
101
101
|
- [API Reference](https://reactonrails.com/docs/api-reference/)
|
|
102
102
|
- [Configuration](https://reactonrails.com/docs/configuration/)
|
|
103
103
|
|
package/lib/clientStartup.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Core package: Renders all components after full page load
|
|
2
|
-
// Pro package: Can hydrate before page load
|
|
2
|
+
// Pro package: Can hydrate before page load and supports on-demand rendering
|
|
3
3
|
import { renderAllComponents } from "./ClientRenderer.js";
|
|
4
4
|
import { onPageLoaded } from "./pageLifecycle.js";
|
|
5
5
|
import { debugTurbolinks } from "./turbolinksUtils.js";
|
|
@@ -21,7 +21,7 @@ export function clientStartup() {
|
|
|
21
21
|
// eslint-disable-next-line no-underscore-dangle
|
|
22
22
|
globalThis.__REACT_ON_RAILS_EVENT_HANDLERS_RAN_ONCE__ = true;
|
|
23
23
|
// Core package: Wait for full page load, then render all components
|
|
24
|
-
// Pro package: Can start hydration immediately
|
|
24
|
+
// Pro package: Can start hydration immediately or wait for page load
|
|
25
25
|
onPageLoaded(reactOnRailsPageLoaded);
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=clientStartup.js.map
|