3 ms·
> babel --presets react src > out.js That is not a realistic workflow anyone would ever use.
by Traubenfuchs 10y ago
> babel --presets react src > out.js
That is not a realistic workflow anyone would ever use.
- ng12 10y agoI'm sorry, what? A "compile" step is something nobody would ever do? Are you writing a lot of machine code these days?
- shados 10y agoWe're sitting on several hundreds (yes, hundreds) "real world" apps and you can bet your butt that some of them do just that. The more advanced ones use the whole tool chain. Simple ones are just a silly 1 liner script like that. Some don't use JSX at all and just straight up stick React on a page. It all works just peachy.