3 ms·
React has been able to use jsx without build forever, here is a modern take: [1] The babel script is huge but it might be an option to get the ball rolling on
by ht85 6y ago
React has been able to use jsx without build forever, here is a modern take: [1]
The babel script is huge but it might be an option to get the ball rolling on a big upgrade.
1. https://medium.com/@to_pe/how-to-add-react-to-a-simple-html-file-a11511c0235f https://medium.com/@to_pe/how-to-add-react-to-a-simple-html-...
- shados 6y agoI mean, using Babel in the browser is essentially a build step. Your code isn't executed as is and has to be preprocessed. It's huge and slow. Not particularly viable. If your goal is just to play around, sure, but the point the Vue folks are making is that they can do the same in a way that is production friendly (maybe not scalable, but still production viable). This isn't.