In general terms, what are the options that I have to load and render in runtime a React component that I have in an uncompiled JSX plain script somewhere: maybe from a string or from a url. Obviously the component script can have imports from other (static) components of the same app or from other external packages.
Note: it's for an internal web app of a company, that is, there are no strong security requirements.
The only easy-ish option I'm aware of for something like that is to use Babel Standalone, which does JSX to JS transformation on the client-side. Insert the JSX string into a
<script type="text/babel">
, and include React, React DOM, and Babel Standalone as scripts on the page.