Created
November 21, 2016 12:39
-
-
Save pablopaul/d2b418eb3db15aa405f71f6d0894308a to your computer and use it in GitHub Desktop.
Redux Store Subscribe
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
const unsubscribe = store.subscribe( () => console.log( store.getState() ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment