gaurav414u / utils

A collection of utils for alt.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A collection of utils for alt.js


Languages

Language:JavaScript 100.0%