react-on-app

1.3.8 • Public • Published

React on App

Integrate react on anywhere

Installation

yarn add react-on-app

Usage

var ReactOnApp = require('react-on-app');
var Home = require('./Home');

ReactOnApp.register({'home.js', Home})

Call app on html

<script> ReactOnApp.render({ domId: 'app', name: 'home.js' }) </script>

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.8
    0
    • latest

Version History

Package Sidebar

Install

npm i react-on-app

Weekly Downloads

0

Version

1.3.8

License

MIT

Unpacked Size

9.59 kB

Total Files

12

Last publish

Collaborators

  • ollatech