3 ms·
I have nothing against web components with jsx, but I really don't like the API that defines web component as just a function, and exposes a bunch of magic effe
by nsonha 2y ago
I have nothing against web components with jsx, but I really don't like the API that defines web component as just a function, and exposes a bunch of magic effectful hooks (React's brilliant idea). What is the point of web component if I can interface with it like a normal element aka having access to the instance?