@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