Skip to content

Conversation

@BookOfGreg
Copy link
Member

@BookOfGreg BookOfGreg commented Feb 4, 2018

Summary

Remove explicit JQuery hooks and use the browser's implementation

Other Information

It was quite hard to replicate because in a standard rails install, Turbolink will be preferred, and once removed it just so happens that JQuery + (Rails/JQuery)_UJS is loaded in the correct order so you really have to get quite unlucky to trigger the bug at #762

I'll likely release the NPM package (react_UJS) as a pre-release first, to make sure it actually plays nicely with more complex JQuery setups.
I don't have a complex example app to test it on therefore I will be relying on community input before merging.

Edit: Also Travis is being painful today, failed 3 times at random, passed 2nd or 3rd run, got a segfault, a Yarn timeout, and a GPG Key mismatch.

@BookOfGreg BookOfGreg merged commit f17376f into master Feb 5, 2018
@BookOfGreg BookOfGreg deleted the fix-762 branch February 5, 2018 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant