Can I use Babel to compile JSX and export vars through the global namespace?
I don't want to run a random Webpack server.
I'm already wrapping my head around ES6, JSX, Babel, and React, and couldn't care less about another library that complicates such a simple task
Ultimately I would like to export my React class and import in another. Theoretically, it should only block until the dependencies are met, and I don't understand how this could be an anti-pattern, since all of my code and external dependencies are cached locally.
This is default behavior for <script>
tags, just not <script type="text/babel">
<script type="text/babel">
var message = "hello world";
</script>
<script type="text/babel">
console.log(message); // undefined
</script>
I'm fine with using ES6 export and import, but not another random file server