> The XHR wrapper can easily be replaced with the fetch API.
Browser support for fetch is still pretty weak, so you'll need some kind of polyfill to use it today.
Browser support for fetch is still pretty weak, so you'll need some kind of polyfill to use it today.
An alternative would be to initiate a discussion with jQuery as obviously Rails isn't the only framework that's dealing with this issue. Let the jQuery guys do what they're great at, let Rails do what it does.