react_on_rails 11.0.9 → 11.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +8 -2
- data/{docs/LICENSE.md → LICENSE.md} +1 -1
- data/README.md +177 -693
- data/SUMMARY.md +39 -26
- data/docs/additional-reading/convert-rails-5-api-only-app.md +19 -0
- data/docs/additional-reading/credits.md +10 -0
- data/docs/additional-reading/rails-assets-relative-paths.md +2 -2
- data/docs/additional-reading/server-rendering-tips.md +2 -4
- data/docs/additional-reading/webpack.md +2 -2
- data/docs/api/javascript-api.md +21 -1
- data/docs/api/redux-store-api.md +100 -0
- data/docs/api/view-helpers-api.md +115 -0
- data/docs/articles.md +20 -0
- data/docs/basics/client-vs-server-rendering.md +17 -0
- data/docs/basics/deployment.md +6 -0
- data/docs/basics/{generator.md → generator-details.md} +4 -7
- data/docs/basics/generator-functions-and-railscontext.md +157 -0
- data/docs/basics/how-react-on-rails-works.md +40 -0
- data/docs/basics/installation-into-an-existing-rails-app.md +64 -0
- data/docs/basics/react-server-rendering.md +27 -0
- data/docs/{additional-reading → basics}/recommended-project-structure.md +26 -4
- data/docs/{additional-reading → basics}/rspec-configuration.md +0 -0
- data/docs/basics/webpack-configuration.md +29 -0
- data/docs/misc/doctrine.md +1 -1
- data/docs/{additional-reading → misc-pending}/code-splitting.md +8 -2
- data/docs/{basics/installation-overview.md → misc-pending/manual-installation-overview.md} +3 -8
- data/docs/{additional-reading → misc-pending}/rails-assets.md +3 -1
- data/docs/testimonials.md +11 -0
- data/docs/tutorial.md +4 -4
- data/lib/generators/USAGE +1 -1
- data/lib/react_on_rails/{react_on_rails_helper.rb → helper.rb} +4 -4
- data/lib/react_on_rails/prerender_error.rb +7 -3
- data/lib/react_on_rails/server_rendering_pool.rb +0 -1
- data/lib/react_on_rails/utils.rb +17 -0
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/react_on_rails.rb +1 -1
- data/package.json +1 -1
- data/react_on_rails.gemspec +1 -1
- metadata +27 -17
- data/docs/additional-reading/caching-and-performance.md +0 -4
- data/docs/additional-reading/node-server-rendering.md +0 -5
- data/docs/api/ruby-api.md +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c451d146d7a22f7a7ef543534018d2b8f02b6c9f1a9544e32a4be1bc5adefa09
|
4
|
+
data.tar.gz: d4348d9c3c67e9a508bc9a53bab51a83077beb609c6b34a524519d788cfd5202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 555fcb6cec66efa9f6d2ecaa834097f4706a20622abf3152d9261e027b5b07c46c511448ef2382b122471a30fce39b828f3d3e9b1e18607b096dcec59385107f
|
7
|
+
data.tar.gz: 3ecaf4ab4726e7e77781a735c35163a1bcb230f6d3700a105f490fa6d45217641d5f3b2124f1109610a3b63920f3d2fc96b243322f549cab61f0d5dd796880fa
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -10,8 +10,13 @@ Changes since last non-beta release.
|
|
10
10
|
|
11
11
|
*Please add entries here for your pull requests that are not yet released.*
|
12
12
|
|
13
|
+
### [11.0.10] - 2018-07-22
|
14
|
+
#### Fixed
|
15
|
+
- Much better logging of rendering errors when there are lots of props. Only the a 1,000 chars are logged, and the center is indicated to be truncated. [PR 1117](https://github.com/shakacode/react_on_rails/pull/1117) and [PR 1118](https://github.com/shakacode/react_on_rails/pull/1117) by [justin808](https://github.com/justin808).
|
16
|
+
- Properly clearing hydrated stores when server rendering. [PR 1120](https://github.com/shakacode/react_on_rails/pull/1120) by [squadette](https://github.com/squadette).
|
17
|
+
|
13
18
|
### [11.0.9] - 2018-06-24
|
14
|
-
- Handle <script async> for Webpack bundle transparently. Closes [issue #290](https://github.com/shakacode/react_on_rails/issues/290) [PR 1099](https://github.com/shakacode/react_on_rails/pull/1099) by [squadette](https://github.com/squadette).
|
19
|
+
- Handle <script async> for Webpack bundle transparently. Closes [issue #290](https://github.com/shakacode/react_on_rails/issues/290) [PR 1099](https://github.com/shakacode/react_on_rails/pull/1099) by [squadette](https://github.com/squadette). Merged in [PR 1107]( https://github.com/shakacode/react_on_rails/pull/1107).
|
15
20
|
|
16
21
|
### [11.0.8] - 2018-06-15
|
17
22
|
#### Fixed
|
@@ -777,7 +782,8 @@ Best done with Object destructing:
|
|
777
782
|
##### Fixed
|
778
783
|
- Fix several generator related issues.
|
779
784
|
|
780
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.0.
|
785
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.0.10...master
|
786
|
+
[11.0.10]: https://github.com/shakacode/react_on_rails/compare/11.0.9...11.0.10
|
781
787
|
[11.0.9]: https://github.com/shakacode/react_on_rails/compare/11.0.8...11.0.9
|
782
788
|
[11.0.8]: https://github.com/shakacode/react_on_rails/compare/11.0.7...11.0.8
|
783
789
|
[11.0.7]: https://github.com/shakacode/react_on_rails/compare/11.0.6...11.0.7
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2017 Justin Gordon and ShakaCode, http://www.shakacode.com
|
3
|
+
Copyright (c) 2017, 2018 Justin Gordon and ShakaCode, http://www.shakacode.com
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|