Re:Show HN: I built a 4kb alternative to React, Vue, etc for...
by afavour on Thursday January 07, 2021 @09:45PM
(#25680884)
That's why I said "in most scenarios". Every React codebase I've ever worked in has used JSX.
[ Parent
| on HN ]
Re:Show HN: I built a 4kb alternative to React, Vue, etc for...
by capableweb on Friday January 08, 2021 @06:18AM
(#25683539)
Just because "Every React codebase I've ever worked in has used JSX" doesn't mean "you still need to transpile JSX in most scenarios". Of course, if you're serious about using React, doing the transpilation before pushing your code to the CDN probably makes the most sense, rather than doing the transpilation client-side or using vanilla JS. But just because it's common, doesn't mean you need to follow that way of doing things.