Created
April 20, 2018 20:30
-
-
Save peterpme/7cf39a1a569322f125d92e34b921b788 to your computer and use it in GitHub Desktop.
compose imports from redux / react-apollo
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 { compose } from "redux"; | |
import { compose } from "react-apollo"; | |
// your InfoScreen implementation | |
// bottom of file: | |
export default compose( | |
connect(mapStateToProps, mapActionCreators), | |
withLoadingScreen | |
)(InfoScreen) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you want to
import { connect } from "redux";