0.0.11 • Published 8 years ago

carry-on-notify v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

carry-on-notify

carry-on plugin that notifies subscribers when state changes.

Usage

import notifyListeners from "carry-on-notify";
import { Store } from "carry-on-react";

const notify = notifyListeners();

const subscriber = state => {
  console.log('state changed', state);
};

const unsubscribe = notify.subscribe(subscriber);

const App = () => (
  <Store plugins={notify.plugin}>
  </Store>
);
0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago