Created
January 14, 2016 00:53
-
-
Save MikeRyanDev/2eed4d161a89d6379b2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Reducer, Store, createStore} from 'redux'; | |
import {provide} from 'angular2/core'; | |
provide(Reducer, { useValue: function appReducer(){ } }); | |
provide(Store, { | |
deps: [Reducer], | |
useFactory: createStore | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment