4 ms·
> How much of the front-end code being written now, will be able to be easily understood and maintained in ten years time, after the trendy fads have come and g
by _pmf_ 11y ago
> How much of the front-end code being written now, will be able to be easily understood and maintained in ten years time, after the trendy fads have come and gone?
Eventually, the kind of virtual DOM will move to either some standard API (via a way of committing changes in a transactional manner) or into the next iteration of the DOM API itself, so yes, none of the VDOM libraries will survive the next 5 years.
For now, VDOM libraries are a necessary evil, not some revolutionary concept like many people seem to try to make us believe.
- daliwali 11y agoActually it's quite faster to call the DOM API directly, even if the VDOM abstraction is very sophisticated it's still overhead. Facebook has convinced people that it's a necessary evil when it's not. It doesn't even make sense to standardize VDOM since it's just an implementation detail.