Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 3.44 KB

README.md

File metadata and controls

53 lines (42 loc) · 3.44 KB

Alt Utils

This package contains the following utils which interface well with the Alt library (a true flux compliant library in a very small size):

Note: If you are looking for the following utils, these are available in separate npm packages and github repos:

  • AltContainer a higher-order container component that is your swiss army knife for React.
  • connectToStores a higher-order function that wraps your React components for store listening.

Installation

npm install alt-utils

ES6 import examples

This is how specific utils can be imported to your project files:

import chromeDebug from 'alt-utils/lib/chromeDebug';
import {decorate, datasource, bind} from 'alt-utils/lib/decorators';

License

MIT