DEV Community

Discussion on: Story of jQuery, Write Less and Rest in Peace

Collapse
 
marcusatlocalhost profile image
Marcus

If you find yourself writing helper functions to simplify stuff, then jquery (or smaller clones of it like: github.com/fabiospampinato/cash) are a valid option - your first example shows how much less you have to write.
And as you pointed out yourself, jquery is still used in millions of legacy websites that aren't going to be refactored or rewritten in a "modern framework" any time soon, if ever.
I rather work on a site with jquery, than some early Angular 1 monster (which was a modern framework once) - use the tools that help archive your goals. Cheers.