-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix turbolinks mount event #764
Conversation
@szyablitsky Thanks! Any details on how you resolved this issue? Reviewed 3 of 3 files at r1. node_package/src/clientStartup.js, line 201 at r1 (raw file):
@szyablitsky Are we sure that the event handlers on Comments from Reviewable |
I included a link to the article where this issue explained in full details. Review status: all files reviewed at latest revision, 1 unresolved discussion. node_package/src/clientStartup.js, line 201 at r1 (raw file): Previously, justin808 (Justin Gordon) wrote…
My bad. Forgot about Turbolinks 2. Will fix now. Comments from Reviewable |
Looks good. 100% sure we can ship, @szyablitsky? Reviewed 1 of 1 files at r2. node_package/src/clientStartup.js, line 201 at r1 (raw file): Previously, szyablitsky (Sergey Zyablitsky) wrote…
Let me know when you're sure we're good to go and I'll release this! Comments from Reviewable |
I'm sure this is the best option of handling React with Turbolinks 5, which works in all scenarios. We definitely can ship it. Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks broke. Comments from Reviewable |
We need to rebuild on CI because it's timed out on bundle install. |
As soon as I can get this to pass CI, I'll release. |
error:
|
I'll restart |
Thanks @szyablitsky |
This change fixes "The node you're attempting to unmount was rendered by another copy of React." error when navigating to cached page using Turbolinks.
More info can be found at renchap/webpacker-react#14 (comment) and https://sevos.io/2017/02/27/turbolinks-lifecycle-explained.html
This change is