Skip to content

Commit

Permalink
feat: 🎸 add dispatchInit plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 11, 2018
1 parent 294c177 commit a608ff6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/dispatchInit.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const plugin = (type = '@@INIT-1.2.3') => store => {
store.dispatch({type})
}

export default plugin

0 comments on commit a608ff6

Please sign in to comment.