react_on_rails 12.1.0 → 12.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +12 -10
- data/.rubocop.yml +2 -1
- data/CHANGELOG.md +39 -17
- data/Gemfile.development_dependencies +1 -1
- data/NEWS.md +9 -4
- data/README.md +18 -316
- data/Rakefile +1 -1
- data/SUMMARY.md +12 -12
- data/docs/additional-details/generator-details.md +1 -1
- data/docs/additional-details/manual-installation-overview.md +2 -2
- data/docs/api/view-helpers-api.md +4 -4
- data/docs/contributor-info/linters.md +1 -1
- data/docs/contributor-info/pull-requests.md +1 -1
- data/docs/{basics → guides}/client-vs-server-rendering.md +1 -1
- data/docs/{basics → guides}/configuration.md +5 -2
- data/docs/{basics → guides}/deployment.md +1 -1
- data/docs/guides/getting-started.md +183 -0
- data/docs/{basics → guides}/hmr-and-hot-reloading-with-the-webpack-dev-server.md +0 -0
- data/docs/{basics → guides}/how-react-on-rails-works.md +3 -1
- data/docs/guides/how-to-conditionally-server-render-based-on-device-type.md +39 -0
- data/docs/guides/how-to-use-different-files-for-client-and-server-rendering.md +98 -0
- data/docs/{basics → guides}/i18n.md +0 -0
- data/docs/{basics → guides}/installation-into-an-existing-rails-app.md +3 -3
- data/docs/{basics → guides}/minitest-configuration.md +0 -0
- data/docs/{rails-webpacker-react-integration-options.md → guides/rails-webpacker-react-integration-options.md} +1 -1
- data/docs/guides/react-on-rails-overview.md +30 -0
- data/docs/{basics → guides}/react-server-rendering.md +2 -2
- data/docs/{basics → guides}/render-functions-and-railscontext.md +0 -0
- data/docs/{basics → guides}/rspec-configuration.md +2 -2
- data/docs/{basics → guides}/tutorial.md +2 -4
- data/docs/{basics → guides}/upgrading-react-on-rails.md +1 -1
- data/docs/{basics → guides}/webpack-configuration.md +1 -1
- data/docs/home.md +19 -378
- data/docs/javascript/code-splitting.md +2 -2
- data/docs/misc/articles.md +1 -1
- data/docs/misc/doctrine.md +3 -3
- data/docs/outdated/rails-assets-relative-paths.md +2 -2
- data/docs/outdated/rails-assets.md +1 -1
- data/docs/rails/convert-rails-5-api-only-app.md +1 -1
- data/docs/rails/rails-engine-integration.md +3 -12
- data/docs/rails/turbolinks.md +13 -1
- data/docs/react-on-rails-pro/react-on-rails-pro.md +43 -0
- data/docs/testimonials/testimonials.md +4 -4
- data/lib/generators/react_on_rails/base_generator.rb +1 -1
- data/lib/react_on_rails/helper.rb +21 -2
- data/lib/react_on_rails/locales/base.rb +7 -9
- data/lib/react_on_rails/react_component/render_options.rb +16 -7
- data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +11 -0
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/tasks/assets.rake +3 -1
- data/package.json +1 -1
- data/rakelib/release.rake +3 -3
- data/yarn.lock +469 -401
- metadata +22 -18
- data/.release-it.json +0 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -144,7 +144,6 @@ files:
|
|
144
144
|
- ".npmignore"
|
145
145
|
- ".prettierignore"
|
146
146
|
- ".prettierrc"
|
147
|
-
- ".release-it.json"
|
148
147
|
- ".rspec"
|
149
148
|
- ".rubocop.yml"
|
150
149
|
- ".scss-lint.yml"
|
@@ -174,20 +173,6 @@ files:
|
|
174
173
|
- docs/api/javascript-api.md
|
175
174
|
- docs/api/redux-store-api.md
|
176
175
|
- docs/api/view-helpers-api.md
|
177
|
-
- docs/basics/client-vs-server-rendering.md
|
178
|
-
- docs/basics/configuration.md
|
179
|
-
- docs/basics/deployment.md
|
180
|
-
- docs/basics/hmr-and-hot-reloading-with-the-webpack-dev-server.md
|
181
|
-
- docs/basics/how-react-on-rails-works.md
|
182
|
-
- docs/basics/i18n.md
|
183
|
-
- docs/basics/installation-into-an-existing-rails-app.md
|
184
|
-
- docs/basics/minitest-configuration.md
|
185
|
-
- docs/basics/react-server-rendering.md
|
186
|
-
- docs/basics/render-functions-and-railscontext.md
|
187
|
-
- docs/basics/rspec-configuration.md
|
188
|
-
- docs/basics/tutorial.md
|
189
|
-
- docs/basics/upgrading-react-on-rails.md
|
190
|
-
- docs/basics/webpack-configuration.md
|
191
176
|
- docs/contributor-info/errors-with-hooks.md
|
192
177
|
- docs/contributor-info/generator-testing.md
|
193
178
|
- docs/contributor-info/linters.md
|
@@ -195,6 +180,25 @@ files:
|
|
195
180
|
- docs/contributor-info/releasing.md
|
196
181
|
- docs/deployment/elastic-beanstalk.md
|
197
182
|
- docs/deployment/heroku-deployment.md
|
183
|
+
- docs/guides/client-vs-server-rendering.md
|
184
|
+
- docs/guides/configuration.md
|
185
|
+
- docs/guides/deployment.md
|
186
|
+
- docs/guides/getting-started.md
|
187
|
+
- docs/guides/hmr-and-hot-reloading-with-the-webpack-dev-server.md
|
188
|
+
- docs/guides/how-react-on-rails-works.md
|
189
|
+
- docs/guides/how-to-conditionally-server-render-based-on-device-type.md
|
190
|
+
- docs/guides/how-to-use-different-files-for-client-and-server-rendering.md
|
191
|
+
- docs/guides/i18n.md
|
192
|
+
- docs/guides/installation-into-an-existing-rails-app.md
|
193
|
+
- docs/guides/minitest-configuration.md
|
194
|
+
- docs/guides/rails-webpacker-react-integration-options.md
|
195
|
+
- docs/guides/react-on-rails-overview.md
|
196
|
+
- docs/guides/react-server-rendering.md
|
197
|
+
- docs/guides/render-functions-and-railscontext.md
|
198
|
+
- docs/guides/rspec-configuration.md
|
199
|
+
- docs/guides/tutorial.md
|
200
|
+
- docs/guides/upgrading-react-on-rails.md
|
201
|
+
- docs/guides/webpack-configuration.md
|
198
202
|
- docs/home.md
|
199
203
|
- docs/javascript/angular-js-integration-migration.md
|
200
204
|
- docs/javascript/asset-pipeline.md
|
@@ -221,11 +225,11 @@ files:
|
|
221
225
|
- docs/outdated/rails-assets-relative-paths.md
|
222
226
|
- docs/outdated/rails-assets.md
|
223
227
|
- docs/outdated/rails3.md
|
224
|
-
- docs/rails-webpacker-react-integration-options.md
|
225
228
|
- docs/rails/convert-rails-5-api-only-app.md
|
226
229
|
- docs/rails/rails-engine-integration.md
|
227
230
|
- docs/rails/rails_view_rendering_from_inline_javascript.md
|
228
231
|
- docs/rails/turbolinks.md
|
232
|
+
- docs/react-on-rails-pro/react-on-rails-pro.md
|
229
233
|
- docs/testimonials/hvmn.md
|
230
234
|
- docs/testimonials/resortpass.md
|
231
235
|
- docs/testimonials/testimonials.md
|
data/.release-it.json
DELETED