@osome/redux-preload
v1.0.0
Published
Osome redux preload
Downloads
7
Readme
@osome/redux-preload
osome redux preload
Install
npm install --save @osome/redux-preload
Usage
import React, { Component } from 'react'
import { preload } from '@osome/redux-preload'
const SimpleComponent = (props) => (<div>Simple component</div>)
const MyComponent = preload(
users: {
action: action.loadUsers,
selector: selector.getUsers,
},
)(SimpleComponent)
License
MIT © OsomePteLtd