Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: