3 ms·
sure the browser accommodates. now how about dealing with wrapping everything in unnecessary empty tags and tree shaking and bloat etc. specialized dev inspecto
by acosmism 2y ago
sure the browser accommodates. now how about dealing with wrapping everything in unnecessary empty tags and tree shaking and bloat etc. specialized dev inspector tools for each framework etc. there are layers...
- robertoandred 2y agoThere are no layers if all you want to do is add an onclick handler.
- acosmism 2y agothere is. there is a build system. there are probably some typescript interfaces and lint checks you need to pass etc probably some other framework you need to familiarize yourself with if you are data binding etc. i'm not saying any of this is inherently bad - what im saying is 99% of the time this is overkill
- robertoandred 2y agoSo don’t do that. Just open a text editor, write <button onclick="thing()">Click Here</button>, and celebrate.
- acosmism 2y agoi'm glad we are on the same page.
- lelanthran 2y ago> i'm glad we are on the same page. Only until the event handler runs :-)