Hacker News new | ask | show | jobs
by cloogshicer 1218 days ago
How do you keep changes between the DOM and JS in sync without a framework? This is, from my understanding, the main value they provide.
1 comments

By adding event listeners to the DOM elements that may receive updates?

I don't see why you _have to_ use a framework for that. Have people forgotten to write simple code using basic JavaScript?