Re:Vanilla-todo: A case study on viable techniques for vanil...
by mcjkrw on Wednesday October 28, 2020 @02:51AM
(#24915997)
I have experimented with something like this for a new side project. The plan was to have a TypeScript class for each component, and a render function to render them on dom. Then the listeners would be handled directly via addEventListener. Eventually I started having thoughts like - "maybe I could have the render function parse attributes and auto-attach dom events".
It became obvious it would become a side project of its own and not a smart use of my time. I settled down for Svelte and I love it.
It became obvious it would become a side project of its own and not a smart use of my time. I settled down for Svelte and I love it.