Hacker News new | ask | show | jobs
by master_oogway 2688 days ago
In order to have dynamic UI you either have to use jQuery or SPA library like Vue or similar.

For me the major advantage of vuejs over jquery is the way data drives UI

2 comments

But... people had dynamic UIs before jQuery and Vue. The main benefit of jQuery was back in the days when the browsers were so different from each other, but that's not the case anymore. I'd recommend learning some vanilla JS before thinking that you need jQuery/Vue/React to create dynamic UIs.
The difference is imperative vs reactive UI. The impact of this is hard to overstate.
Why do you need jQuery for this?
You don't strictly need jQuery for this. jQuery simply has a terser API than the standard DOM. That's why I still use it.