We use a bunch of rails ujs helpers in the app to do various things. They're provided to use by jquery_ujs.
First step in removing jQuery is removing the things that depend on jQuery, and a big part of that is jquery_ujs. Lucky for us, Rails make available the same helpers without the jQuery dependency via npm - so this change just includes the package and makes it available to the app.
It's not used on any SPA pages (that would break many things) so it's just used on pages managed by Rails.
We use a bunch of rails ujs helpers in the app to do various things. They're provided to use by
jquery_ujs
.First step in removing jQuery is removing the things that depend on jQuery, and a big part of that is
jquery_ujs
. Lucky for us, Rails make available the same helpers without the jQuery dependency via npm - so this change just includes the package and makes it available to the app.It's not used on any SPA pages (that would break many things) so it's just used on pages managed by Rails.