1.0.0 • Published 5 years ago

@osome/redux-preload v1.0.0

Weekly downloads
25
License
MIT
Repository
github
Last release
5 years ago

@osome/redux-preload

osome redux preload

NPM JavaScript Style Guide

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