title: How to load react-redux with a simple script tag
body: <p>How can I load the React-Redux (React binding for Redux) JavaScript library onto a web page with a simple script tag? </p>
  
  <p>I have seen examples of loading React-Redux as an NPM module from node_modules, but in my case that is not an option.</p>
  
  <p>I'm after something like this:</p>
  
  <pre><code>&lt;!-- load React-Redux with simple script tag --&gt;
  &lt;script src="....."&gt;&lt;/script&gt;
  
  &lt;script&gt;
    // Cannot use npm modules from node_modules, so cannot use
    // import { Provider } from "react-redux";
  
    // Assign Provider and connect variable if needed from 
    // some symbol defined in the .js file that was loaded 
    // by the script tag
    var Provider = ....;
    var connect = ....;
  
    // Load my own hypothetical ES6 modules (not relevant to this question)
    import store from "./store";
    import App from "./App";
  
    const rootElement = document.getElementById("root");
    ReactDOM.render(
      &lt;Provider store={store}&gt;
        &lt;App /&gt;
      &lt;/Provider&gt;,
      rootElement
    );
  &lt;/script&gt;
  </code></pre>