3 ms·
> than simply writing 3 custom elements that monitor and propagate values for any child element. I feel like you're underestimating how easy this is to skrew u
by SkiFire13 3y ago
> than simply writing 3 custom elements that monitor and propagate values for any child element.
I feel like you're underestimating how easy this is to skrew up.
- lelanthran 3y agoYou're probably correct in your assessment of my estimation. However, it's far far easier for a newcomer to screw up when approaching react or cue than when approaching a custom html element. Time will tell as I use my experiment in more domains, more often and in larger apps.
- mst 3y agoI rather like https://lit.dev/ https://lit.dev/ for web components so far. For the reactivity stuff, you might want to read https://frontendmasters.com/blog/vanilla-javascript-reactivity/ https://frontendmasters.com/blog/vanilla-javascript-reactivi... - it shows a bunch of no-library-required patterns that, while in a number of cases I'd much rather use a library myself, all seems at least -basically- reasonable to me and will probably be far more comprehensible to you than whatever I'd reach for, and frameworks are always much more pleasant to approach after you've already done a bunch of stuff by banging rocks together first.