DEV Community

Discussion on: I Need jQuery

Collapse
 
lexlohr profile image
Alex Lohr

If you really do such low-end stuff exclusively, you should really be able to do it without the whole of jQuery. On the other hand, if you want to do more advanced front-ends, you should definitely go without jQuery and let a framework like preact or Vue manage the DOM for you.

Also, you should not use style or shorthands like .hide() unless there's no other option. Better set class names (like .hidden, [hidden]) and handle them in CSS.