2 ms·
Meanwhile, I'm the guy in the corner happily writing native Web Components with (optionally ) lit-html as a renderer. I get reactivity with class properties an
by claytongulick 3y ago
Meanwhile, I'm the guy in the corner happily writing native Web Components with (optionally ) lit-html as a renderer.
I get reactivity with class properties and a call to render().
It's so damned easy and straightforward, super fast light weight little components that know how to take care of themselves.
I stick with the light DOM and use a CSS design system that matches the project - bootstrap or whatever.
I have zero build time during development, and a quick "vite build" for deployment - just for easy packaging.
No framework churn.
No complex debugging. What you code is what you debug in chrome dev tools. No source maps.
No complicated state management or insanity like redux.
A new dev can be set up and productive in a day or two, and that includes learning how Web Components work.
I've been sitting in my lonely corner looking at the room full of unbelievably complex front end frameworks and scratching my head.
I just don't get it.