A small set of Rails features are dependent on the inclusion of jQuery. Basically, it's everything UJS does. Including all of jQuery to support UJS feels like a heavy weight solution. In the past almost everyone was using jQuery so it seemed reasonable to include. The explosion of JS in the last few years is starting to make it's inclusion more questionable. Many people have switched to using underscore or lodash, they're using polyfills for fetch instead of $.ajax, or building heavy clients with one of the million available frameworks. In following with Mike Perham's recent gem purge it seems like maybe it's time jQuery went as well.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.