3 ms·
> There are lighter-weight shadow dom frameworks out there (than Vue/React/Angular) so why would you want to write one yourself? You can even avoid a shadow DO
by naasking 4y ago
> There are lighter-weight shadow dom frameworks out there (than Vue/React/Angular) so why would you want to write one yourself?
You can even avoid a shadow DOM or vDOM entirely and differentially render using the DOM itself:
https://github.com/WebReflection/domdiff https://github.com/WebReflection/domdiff
https://github.com/WebReflection/uhtml https://github.com/WebReflection/uhtml
The JS framework benchmark shows these two are among the top performers.