Closed
Description
If I have page that mixed both JSX script (which use JSXTransformer.js) and JS script then JSX script get loaded after JS script.
So if I have
<script type="text/jsx" src="component.jsx"></script>
<script src="app.js"></script>
Then I cannot refer to React classes created inside component.jsx in app.js. My workaround is to rename app.js to app.jsx.
JSXTransformer should have some kind of even callback that is called when jsx all script is loaded and ready to be used.