Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
/ redux-preload Public archive

Not maintained. Osome redux preload library

Notifications You must be signed in to change notification settings

OsomePteLtd/redux-preload

Repository files navigation

This repository is no longer maintained

@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