Integrate react on anywhere
yarn add react-on-app
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>npm test
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.