react-on-rails 14.0.0 → 14.0.2
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 +23 -15
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -24,17 +24,25 @@
|
|
|
24
24
|
|
|
25
25
|
*These are the docs for React on Rails 13. To see the older docs: [v12](https://github.com/shakacode/react_on_rails/tree/12.6.0) and [v11](https://github.com/shakacode/react_on_rails/tree/11.3.0).*
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
React on Rails integrates Rails with (server rendering of)
|
|
27
|
+
# About
|
|
28
|
+
React on Rails integrates Rails with (server rendering of) [React](https://github.com/facebook/react).
|
|
29
29
|
|
|
30
|
-
This project is maintained by
|
|
30
|
+
This project is maintained by [ShakaCode](https://www.shakacode.com).
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
[loadable-components](https://loadable-components.com/) with server-side rendering for SEO and hot-reloading for developers?
|
|
35
|
-
We did this for Popmenu, [lowering Heroku costs 20-25% while getting a 73% decrease in average response times](https://www.shakacode.com/recent-work/popmenu/). Several years later, Popmenu is serving millions of SSR requests per day with React on Rails.
|
|
32
|
+
## ShakaCode Upgrade Support
|
|
33
|
+
ShakaCode focuses on helping Ruby on Rails teams better use React and Webpack. We can upgrade your project and improve your development and customer experiences, allowing you to focus on building new features or fixing bugs instead.
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
For an overview of working with us, see our [Client Engagement Model](https://www.shakacode.com/blog/client-engagement-model/) article and [how we bill for time](https://www.shakacode.com/blog/shortcut-jira-trello-github-toggl-time-and-task-tracking/).
|
|
36
|
+
|
|
37
|
+
We also specialize in helping development teams lower infrastructure and CI costs. Check out our project [Control Plane Flow](https://github.com/shakacode/control-plane-flow/), which can allow you to get the ease of Heroku with the power of Kubernetes and big cost savings.
|
|
38
|
+
|
|
39
|
+
If you think ShakaCode can help your project, [click here](https://meetings.hubspot.com/justingordon/30-minute-consultation) to book a call with [Justin Gordon](mailto:justin@shakacode.com), the creator of React on Rails.
|
|
40
|
+
|
|
41
|
+
## React on Rails Pro
|
|
42
|
+
Are you interested in optimizing your webpack setup for React on Rails, including code splitting with [react-router](https://github.com/ReactTraining/react-router#readme) and [loadable-components](https://loadable-components.com/) with server-side rendering for SEO and hot-reloading for developers?
|
|
43
|
+
We did this for Popmenu, [lowering Heroku costs 20-25% while getting a 73% decrease in average response times](https://www.shakacode.com/recent-work/popmenu/). Several years later, Popmenu serves tens of millions of SSR requests daily with React on Rails Pro.
|
|
44
|
+
|
|
45
|
+
If you're interested, read more about [React on Rails Pro](https://www.shakacode.com/react-on-rails-pro/) and [book a call](https://meetings.hubspot.com/justingordon/30-minute-consultation).
|
|
38
46
|
|
|
39
47
|
# Documentation
|
|
40
48
|
|
|
@@ -42,16 +50,16 @@ See the documentation at **[shakacode.com/react-on-rails/docs](https://www.shaka
|
|
|
42
50
|
|
|
43
51
|
## Project Objective
|
|
44
52
|
|
|
45
|
-
To provide a high
|
|
53
|
+
To provide a high-performance framework for integrating Ruby on Rails with React, especially regarding React Server-Side Rendering for better SEO and improved performance.
|
|
46
54
|
|
|
47
55
|
## Features and Why React on Rails?
|
|
48
56
|
|
|
49
|
-
Given that `
|
|
57
|
+
Given that `shakacode/shakapacker` gem already provides basic React integration, why would you use "React on Rails"?
|
|
50
58
|
|
|
51
59
|
1. Automatic configuration of what bundles are added to the page based on what React components are on the page. This results in faster browser loading time via smaller bundle sizes.
|
|
52
|
-
1. Keep up with the latest changes
|
|
60
|
+
1. Keep up with the latest changes in different versions of React. React 18 is supported.
|
|
53
61
|
1. Easy passing of props directly from your Rails view to your React components rather than having your Rails view load and then make a separate request to your API.
|
|
54
|
-
Tight integration with [shakapacker](https://github.com/shakacode/shakapacker) (or
|
|
62
|
+
Tight integration with [shakapacker](https://github.com/shakacode/shakapacker) (or its predecessor [rails/webpacker](https://github.com/rails/webpacker)).
|
|
55
63
|
1. Server-Side Rendering (SSR), often used for SEO crawler indexing and UX performance.
|
|
56
64
|
1. [Automated optimized entry-point creation and bundle inclusion when placing a component on a page. With this feature, you no longer need to configure `javascript_pack_tags` and `stylesheet_pack_tags` on your layouts based on what’s shown. “It just works!”](https://www.shakacode.com/react-on-rails/docs/guides/file-system-based-automated-bundle-generation/)
|
|
57
65
|
1. [Redux](https://github.com/reactjs/redux) and [React Router](https://github.com/ReactTraining/react-router#readme) integration with server-side-rendering.
|
|
@@ -87,7 +95,7 @@ Ruby on Rails >=5, rails/webpacker >= 4.2 or shakapacker > 6, Ruby >= 3.0.0
|
|
|
87
95
|
|
|
88
96
|
## Contributing
|
|
89
97
|
|
|
90
|
-
Bug reports and pull requests are welcome.
|
|
98
|
+
Bug reports and pull requests are welcome. To get started, see [Contributing](https://github.com/shakacode/react_on_rails/tree/master/CONTRIBUTING.md) and the [list of help wanted issues](https://github.com/shakacode/react_on_rails/labels/contributions%3A%20up%20for%20grabs%21).
|
|
91
99
|
|
|
92
100
|
# Work with Us
|
|
93
101
|
ShakaCode is **[hiring passionate software engineers](http://www.shakacode.com/career)** to work on our projects, including [HiChee](https://hichee.com)!
|
|
@@ -98,7 +106,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
98
106
|
|
|
99
107
|
# Supporters
|
|
100
108
|
|
|
101
|
-
The following companies support our open
|
|
109
|
+
The following companies support our open-source projects, and ShakaCode uses their products!
|
|
102
110
|
|
|
103
111
|
<br />
|
|
104
112
|
<br />
|
|
@@ -113,7 +121,7 @@ The following companies support our open source projects, and ShakaCode uses the
|
|
|
113
121
|
<img alt="ScoutAPM" src="https://user-images.githubusercontent.com/4244251/184881152-9f2d8fba-88ac-4ba6-873b-22387f8711c5.png" height="120px">
|
|
114
122
|
</picture>
|
|
115
123
|
</a>
|
|
116
|
-
<a href="https://controlplane.com">
|
|
124
|
+
<a href="https://shakacode.controlplane.com">
|
|
117
125
|
<picture>
|
|
118
126
|
<img alt="Control Plane" src="https://github.com/shakacode/.github/assets/20628911/90babd87-62c4-4de3-baa4-3d78ef4bec25" height="120px">
|
|
119
127
|
</picture>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-on-rails",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.2",
|
|
4
4
|
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",
|
|
5
5
|
"main": "node_package/lib/ReactOnRails.js",
|
|
6
6
|
"directories": {
|
|
@@ -91,5 +91,6 @@
|
|
|
91
91
|
"bugs": {
|
|
92
92
|
"url": "https://github.com/shakacode/react_on_rails/issues"
|
|
93
93
|
},
|
|
94
|
-
"homepage": "https://github.com/shakacode/react_on_rails#readme"
|
|
94
|
+
"homepage": "https://github.com/shakacode/react_on_rails#readme",
|
|
95
|
+
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
|
|
95
96
|
}
|