Hacker News new | past | comments | ask | show | jobs | submit login

Shadow DOM will allow browsers to optimise their rendering code to re-render encapsulated DOM subtrees independently of each other.

Virtual DOM makes sense when (A) you have a huge tree and (B) you show only a small portion of that tree to the user at any given time.

For example a long scrollable list or a multi-line text editor would be better implemented with virtual DOM, but using it everywhere is an overkill.




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

Search: