Skip to content

Commit 8443ec8

Browse files
Merge branch 'master' into add-image-handling-example
2 parents f4395b5 + c4423e1 commit 8443ec8

File tree

9 files changed

+18
-29
lines changed

9 files changed

+18
-29
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Contributors: please follow the recommendations outlined at [keepachangelog.com]
1010
- Locked Webpack version in generators to 2.2.1
1111
- Added style-loaders to webpack config
1212

13+
## [6.8.1] - 2017-03-21
14+
### Fixed
15+
- Fixed error "The node you're attempting to unmount was rendered by another copy of React." [#706](https://github.com/shakacode/react_on_rails/issues/706) when navigating to cached page using Turbolinks [#763](https://github.com/shakacode/react_on_rails/pull/763) by [szyablitsky](https://github.com/szyablitsky).
16+
1317
## [6.8.0] - 2017-03-06
1418
## Added
1519
- Converted to Webpack v2 for generators, tests, and all example code. [#742](https://github.com/shakacode/react_on_rails/pull/742) by [justin808](https://github.com/justin808).
@@ -34,7 +38,7 @@ Commenting out this line addresses the issue:
3438

3539
```
3640
config.i18n_dir = Rails.root.join("client", "app", "libs", "i18n")
37-
```
41+
```
3842

3943
### Added
4044
- Allow using rake task to generate javascript locale files. The test helper automatically creates the localization files when needed. [#717](https://github.com/shakacode/react_on_rails/pull/717) by [JasonYCHuang](https://github.com/JasonYCHuang).
@@ -489,7 +493,8 @@ Best done with Object destructing:
489493
##### Fixed
490494
- Fix several generator related issues.
491495

492-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.8.0...master
496+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.8.1...master
497+
[6.8.1]: https://github.com/shakacode/react_on_rails/compare/6.8.0...6.8.1
493498
[6.8.0]: https://github.com/shakacode/react_on_rails/compare/6.7.2...6.8.0
494499
[6.7.2]: https://github.com/shakacode/react_on_rails/compare/6.7.1...6.7.2
495500
[6.7.1]: https://github.com/shakacode/react_on_rails/compare/6.7.0...6.7.1

PROJECTS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
#Projects using React on Rails
1+
# Projects using React on Rails
22

33
*Please add your project to this list.*
44

55
## Commercial Products Live
66
* **[Friends and Guests](https://www.friendsandguests.com/)**, the signature product of [ShakaCode](http://www.shakacode.com), which is a "Network Connecting Hosts and Guests".
7+
* **[KissKissBankBank](https://www.kisskissbankbank.com/)**, large French crowdfunding platform.
78
* **[Nootrobox](https://nootrobox.com)**: Web ecommerce site for "biohacking" products.
89
* **[GuavaPass](https://guavapass.com/)**: Coaching client of [ShakaCode](http://www.shakacode.com) and React on Rails fan!
910
* **[Pivotal Tracker](http://www.pivotaltracker.com/)**: The first (and most-loved) agile project management tool built on Rails. React on Rails has greatly simplified integration and workflow for our React components in Rails!
@@ -38,3 +39,4 @@
3839

3940
* [github.com/Limenius/symfony-react-sandbox](https://github.com/Limenius/symfony-react-sandbox)
4041
* [github.com/tswayne/react-helper](https://github.com/tswayne/react-helper)
42+
* [github.com/KissKissBankBank/kitten](https://github.com/KissKissBankBank/kitten)

docs/additional-reading/turbolinks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ TURBO: reactOnRailsPageLoaded
9494

9595
Turbolinks 5:
9696
```
97-
TURBO: WITH TURBOLINKS 5: document turbolinks:before-render and turbolinks:load handlers installed. (program)
97+
TURBO: WITH TURBOLINKS 5: document turbolinks:before-render and turbolinks:render handlers installed. (program)
9898
TURBO: reactOnRailsPageLoaded
9999
```
100100

lib/react_on_rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ReactOnRails
2-
VERSION = "6.8.0".freeze
2+
VERSION = "6.8.1".freeze
33
end

node_package/src/clientStartup.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,10 @@ export function clientStartup(context) {
183183
if (turbolinksVersion5()) {
184184
debugTurbolinks(
185185
'USING TURBOLINKS 5: document added event listeners ' +
186-
'turbolinks:before-render and turbolinks:load.');
186+
'turbolinks:before-render and turbolinks:render.');
187187
document.addEventListener('turbolinks:before-render', reactOnRailsPageUnloaded);
188-
document.addEventListener('turbolinks:load', reactOnRailsPageLoaded);
188+
document.addEventListener('turbolinks:render', reactOnRailsPageLoaded);
189+
reactOnRailsPageLoaded();
189190
} else {
190191
debugTurbolinks(
191192
'USING TURBOLINKS 2: document added event listeners page:before-unload and ' +

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-on-rails",
3-
"version": "6.8.0",
3+
"version": "6.8.1",
44
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",
55
"main": "node_package/lib/ReactOnRails.js",
66
"directories": {

react_on_rails.gemspec

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,4 @@ Gem::Specification.new do |s|
4242
s.add_development_dependency "binding_of_caller"
4343
s.add_development_dependency "awesome_print"
4444
s.add_development_dependency "gem-release"
45-
46-
s.post_install_message = %(
47-
React on Rails installed! See https://github.com/shakacode/react_on_rails for documentation
48-
and source code.
49-
50-
You can email [email protected] for support questions or access to our public slack room.
51-
52-
For custom application development work or coaching on integrating React with Rails,
53-
visit http://www.shakacode.com
54-
55-
For more information on the generators, run:
56-
rails generate react_on_rails:install --help
57-
)
5845
end

spec/dummy/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ../..
33
specs:
4-
react_on_rails (6.8.0)
4+
react_on_rails (6.8.1)
55
addressable
66
connection_pool
77
execjs (~> 2.5)

spec/dummy/Procfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
2-
3-
# Build client assets, watching for changes.
4-
rails-client-assets: rm app/assets/webpack/* || true && npm run build:dev:client
5-
6-
# Build server assets, watching for changes. Remove if not server rendering.
7-
rails-server-assets: npm run build:dev:server
1+
web: bundle exec puma -C config/puma.rb

0 commit comments

Comments
 (0)