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

>rerendering the entire DOM

No, just rerendering the viewport that was affected by the model. I have no need to re-render headers, footers, menus, etc.

>DOM itself has state

No. The viewport has no state. It's just a transformation on the model. And I don't place any event listeners in my viewport DOM.

> every time the user presses a key or moves their mouse

Of course not - and I wouldn't expect an application to be updating the model on key presses.



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

Search: