Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
compose imports from redux / react-apollo
import { compose } from "redux";
import { compose } from "react-apollo";
// your InfoScreen implementation
// bottom of file:
export default compose(
connect(mapStateToProps, mapActionCreators),
withLoadingScreen
)(InfoScreen)
@tommyblue

This comment has been minimized.

Copy link

tommyblue commented Apr 27, 2018

I think you want to import { connect } from "redux";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.