alt-utils

A collection of utils that work with alt.js

Usage no npm install needed!

<script type="module">
  import altUtils from 'https://cdn.skypack.dev/alt-utils';
</script>

README

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