3 ms·
> And there's no build step -- you can develop with a CDN and hit F5 Same with React. There is a production CDN https://reactjs.org/docs/cdn-links.html https:/
by docuru 6y ago
> And there's no build step -- you can develop with a CDN and hit F5
Same with React. There is a production CDN https://reactjs.org/docs/cdn-links.html https://reactjs.org/docs/cdn-links.html
- afavour 6y agoNot totally the same as React as you still need to transpile JSX in most scenarios. I suspect that’s what they’re getting at.
- docuru 6y agoAh, then it's similar to Vue (for that particular feature)
- tayo42 6y agoYou can write react without building or jsx, it's in their tutorial or getting started doc.
- afavour 6y agoThat's why I said "in most scenarios". Every React codebase I've ever worked in has used JSX.
- capableweb 6y agoJust 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.
- afavour 6y agoYou just admitted that "it's common". That's another way of saying "in most scenarios". I don't know why you're splitting hairs like this.