4 ms·
Yeah, and I'm arguing that it's pretty ugly to write nested html that way. Hater-or-lover of JSX, it is definitely an intuitive way to think about HTML in the
by bpicolo 9y ago
Yeah, and I'm arguing that it's pretty ugly to write nested html that way.
Hater-or-lover of JSX, it is definitely an intuitive way to think about HTML in the context of JS.
I prefer the vue model that's a bit closer to the metal, though, if only because of quirks like className
- l1ambda 9y agoThink I see what you are getting at--in practice most folks using React are going to use JSX and build tools, and if you alias the function it's kind of non-standard. Mithril has "class" instead of "className"; that irks me too.