Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 243 Bytes

dispatch.md

File metadata and controls

15 lines (10 loc) · 243 Bytes

dispatch Plugin

Adds .dispatch() method to your store.

Usage:

import {createStore} from 'three-ducks';
import pluginDispatch from 'three-ducks/lib/plugins/dispatch';

const store = createStore({}, [
  pluginDispatch(),
]);