News for hackers. Stuff that matters.
Re:Removing jQuery from GitHub.com frontend by interlocutor on Wednesday July 25, 2018 @08:58PM (#17614318)
You don't care if the code is significantly simpler by using jQuery? I do care. Simpler code is likely to have fewer bugs and is easier to maintain.
Re:Removing jQuery from GitHub.com frontend by thermodynthrway on Wednesday July 25, 2018 @09:22PM (#17614409)
I'm talking about my code specifically. With React I can pull in a massively complex UI component in few lines.

The complexity is shifted to the library that hopefully has thousands of users so is mostly bug free. It simplifies my code at the expense of moving complexity to the shared project. Much preffered since my code will see orders of magnitude less usage than the library itself

Re:Removing jQuery from GitHub.com frontend by j16sdiz on Thursday July 26, 2018 @02:11AM (#17615382)
I care debugibilty and maintainibility. Many projects on github have very short life cycle. If it go unmaintained, how easy can I take over it?
Re:Removing jQuery from GitHub.com frontend by thermodynthrway on Thursday July 26, 2018 @09:39AM (#17617374)
I would argue that most websites have a lifetime similar to the components :). For the ones that don't, backwards compatibility on the web is amazing, only thing to worry about is security vulns
Re:Removing jQuery from GitHub.com frontend by Cthulhu_ on Thursday July 26, 2018 @05:40AM (#17616191)
You're correct that simpler code is better, but here's my argument: Large jQuery applications are not simpler, have more bugs, are harder to maintain and have poorer performance than React applications.

jQuery is a DOM manipulation utility library. React is a view rendering library, favoring composition and isolated components.