react-jspm-loader
v1.1.0
Published
Async load remote components width jspm
Downloads
5
Maintainers
Readme
react-jspm-loader
Async load any jspm compatible React component into your app.
This component use script.js to load the jspm.io browser runtime.
See also : React UMD loader
Usage
You can require modules in the jspm registry : github and npm
This example loads the npm react-json-viewer
component into our app
import JsPmLoader from 'react-jspm-loader'
let cmp = (<JsPmLoader module="npm:react-json-viewer" props={ props }>
<p>Loading remote component...</p>
</JsPmLoader>);
Dev
This project use the great react-component-boilerplate