react-jspm-loader

1.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    5
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i react-jspm-loader

Weekly Downloads

5

Version

1.1.0

License

MIT

Last publish

Collaborators

  • revolunet