News for hackers. Stuff that matters.
Re:Vue.js 3 by ht85 on Friday September 18, 2020 @05:46PM (#24522200)
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-...

Re:Vue.js 3 by shados on Saturday September 19, 2020 @10:19AM (#24527604)
I 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.