by _3iqy · 8y ago · 0 comments
Even with webpack or some other complex bundle, someone without any formation can really quickly set it up and get to code without worrying much about the internals of webpack etc.
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
<script type="text/jsx">
/** @jsx m */
// your can use jsx here
</script>
and bingo! You can use JSX. No need to use npm, webpack, etc.But if you're new to a framework and just want to experiment then being able to create an html file with a couple of script tags and writing code removes many barriers to entry.
React, Vue and many others already offer this, I thought it was worth mentioning that Mithril does this too.
npx create-react-app MyApp
There is nothing to install, and you have a complete playground to experiment.