Created
June 23, 2017 12:51
-
-
Save du5rte/8486fd35013456175dea9f9992a29ced to your computer and use it in GitHub Desktop.
Redux Store on different development modes
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
export default ( | |
process.env.NODE_ENV === "production" | |
? require("./productionStore").default | |
: require("./developmentStore").default | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment