Rails UJS in pure JavaScript, with no jQuery dependency.
Based on code of Łukasz Niemier.
Consider it if you do not need to support IE<10 and have no other jQuery dependency in your front-end codebase.
Resources to make an educated guess:
As usual:
Gemfile
gem 'vanilla-ujs'Run bundle and have the asset pipeline pick it up:
app/assets/javascripts/application.js
//= require vanilla-ujsvanilla-ujs supports all ever green browsers (including IE10+).