frameworks for DOM manipulation, AJAX, events, etc was totally reasonable.
Today the panorama is totally different: do you event listeners? AJAX?
bind? query selector? You’re totally covered by plain ES5
(and hey ES7 is the new kid on the block nowadays!!), do you need
from HTML5 is your new best friend.
Ok well, maybe there are plenty of other reasons for using jQuery in many applications, that’s totally fine but many would agree that it is not a standard or default for the new applications today and that’s why we have decided to move it out from default Rails stack to RoR Retirement Home (remember TRL Retirement Home?).
UJS is now supported using rails-ujs library
(that doesn’t use any framework underhood) created by Dangyi Liu
as part of Google Summer of Code and you can still use jQuery in your
new apps with the
-j option (e.g
rails new blog -j jquery)… or (protip!) you can
use that option to get React instead (
rails new instagram -j react) ;-).
Too much nostalgia for one day, hasta la vista, jQuery.