1.1.0 • Published 8 years ago

react-jspm-loader v1.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

react-jspm-loader experimental

npm version

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