We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cba7d8 commit ecfdc52Copy full SHA for ecfdc52
lib/assets/javascripts/react_ujs_turbolinks.js
@@ -3,7 +3,7 @@
3
// Turbolinks 5+ got rid of named events (?!)
4
setup: function() {
5
ReactRailsUJS.handleEvent('turbolinks:load', function() {window.ReactRailsUJS.mountComponents()});
6
- ReactRailsUJS.handleEvent('turbolinks:before-cache', function() {window.ReactRailsUJS.unmountComponents()});
+ ReactRailsUJS.handleEvent('turbolinks:before-render', function() {window.ReactRailsUJS.unmountComponents()});
7
}
8
};
9
})(document, window);
0 commit comments