Skip to content

altjs/utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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