DEV Community

loading...

Discussion on: JQuery Footguns?

Collapse
theodesp profile image
Theofanis Despoudis

Actually jQeury is not so bad. Especially the UI version of it its quite modular and you can build big applications with it. Just don't couple UI logic with business logic.

Collapse
deciduously profile image
Ben Lovy Author

Ah, thanks for the link! I'd never heard of that, looks like a huge amount of work that can be saved there. I definitely don't have any sort of stigma against JQuery, just never got around to using it much.

Just don't couple UI logic with business logic.

Seems like good advice in general, JQuery aside. Thanks again!

Collapse
theodesp profile image
Theofanis Despoudis

I would suggest to use a template engine like handlebarsjs.com/ for anything related to building HTML

Thread Thread
deciduously profile image
Ben Lovy Author

Good tip! Manually constructing DOM nodes gets old fast.