reactive-loadable-component
v1.0.4
Published
reactive loadable component
Downloads
2
Maintainers
Readme
reactive-loadable-component
feature
- lazy load file component
- lazy load component
<ObservableComponent
trigger="image-loaded"
emit="finish"
component={Component}
>
const Component = () => require('./Component').default
<ObservableComponent
trigger="image-loaded"
emit="finish"
component={Component}
>
// Component.js
export default () => {
const { notify } = props
notify()
return null
}