Skip to content

Instantly share code, notes, and snippets.

@eyaleizenberg
Last active January 22, 2018 08:28
Show Gist options
  • Save eyaleizenberg/92a43d8a188c840841624b82a1cc64c7 to your computer and use it in GitHub Desktop.
Save eyaleizenberg/92a43d8a188c840841624b82a1cc64c7 to your computer and use it in GitHub Desktop.
App container for Redux Cornell
import { connect } from 'react-redux'
import { selectors } from '../redux/reducers';
import App from '../components/App/App';
const mapStateToProps = (state) => ({
showInfoVisible: selectors.getShowInfoVisible(state)
});
export default connect(mapStateToProps)(App);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment