1.0.1 • Published 5 years ago
react-require v1.0.1
react-require
A react component loader with babel
Install
npm install --save-dev react-require
Usage
import { load } from 'react-require';
const fooComponent = load('path/to/react/fooComponent.jsx');