News for hackers. Stuff that matters.
Re:This Week in Rails: jQuery no longer part of Rails, and more by mercer on Friday December 09, 2016 @06:45AM (#13138189)
Yeah, it's a bit more verbose, although some of that can be alleviated with a helper function or two, well enough that it's worth it for me in many cases.

But I still regularly find myself just using jQuery for convenience, as there's still a bunch of gotchas with plain js.

For example, I rather liked the event.path property to deal with event bubbling, only to discover that safari (mobile, at least) doesn't support it. Adding a helper function for that was trivial, but it's still one extra thing to do, and it makes it just a bit harder for other devs to get going. I ran into a number of these minor issues.

There are no comments on this comment yet.