Last active
September 6, 2016 22:16
-
-
Save alyssaBiasi/ad3a6af92bc36799708f0403914ca500 to your computer and use it in GitHub Desktop.
REA ReactJS Performance Debugging "Connecting"
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 Component = ({ shouldRenderFeature }) => ( ... ); | |
const mapStateToProps = (state) => ({ | |
shouldRenderFeature: state.toggles.featureA | |
}); | |
export default connect(mapStateToProps)(Component); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment