DEV Community

Discussion on: The Vanilla Javascript Component Pattern

Collapse
 
vitalyt profile image
Vitaly Tomilov

In the same spirit, to create DOM components in pure JavaScript, I implemented a small library just to wrap all my code into DOM components, per se:

github.com/vitaly-t/excellent

You still write everything directly for DOM, but it helps with reusability + lifespan + isolation.