4 ms·
I'm not a big fan of JSX... But that trend to put everything back into HTML were possible is also wrong... Yeah this may work for static websites with some fo
by anon23432343 3y ago
I'm not a big fan of JSX...
But that trend to put everything back into HTML were possible is also wrong...
Yeah this may work for static websites with some forms but I don't see Discord being build like that or any other bigger app.
Its like people want back the HTML version of Gmail.
Its a nice experience when a big part of your screen flashes /s
What about i18n? or a10y? The examples of the form don't support any of that.
Have fun writing the right input every time without a well abstracted text input that does the hard and annoying stuff for you.
We switched to components for a reason but it seams like people forgot.
And yes not every blog or form needs to be writen in nuxt or some other big framework.
- deleted 3y ago[deleted]
- mock-possum 3y agoAlso not a fan of JSX. VUE’s component definitions are slightly better - at least it’s using actually HRML tags and <template>s. Personally, my favorite is Lit’s approach, writing HTML in tagged template literals. It’s still mixing your HTML with your JavaScript, but it feels much cleaner, closer to the vanilla experience of marking up content.
- c-cube 3y agoI have to use gmail for work, and I use the html version. It doesn't eat hundreds of MBs of ram or slow down my browser like, say, Google cloud's UI does. Ymmv. (of course the html version is not as good as a non webmail would be. Such is life I guess.)