boswellgao
boswellgao
I have a HOC like this ``` const asyncComponent = (importComponent) => { class WrapComp extends React.Component{ state = { component: null } componentDidMount(){ importComponent().then(cmp => { this.setState({component: cmp.default}); });...
I have an npm package named webpack-holl that has the follow packages as dependencies: ```javascript "html-webpack-plugin": "^4.5.2", "add-asset-html-webpack-plugin": "^2.1.3", "babel-eslint": "^7.2.3", "cache-loader": "^1.2.2", "case-sensitive-paths-webpack-plugin": "^2.1.2", "chalk": "^2.4.1", "eslint-loader": "^1.9.0", "postcss":...
```javascript // I use the lib as follow import {LiveProvider, LiveEditor, LiveError, LivePreview} from 'react-live' ``` I have read the rollup.config.js of this lib and I saw ```javascript { output:...