Skip to content

Instantly share code, notes, and snippets.

@gladchinda
Created August 29, 2018 09:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gladchinda/70b2ab4eba2772b8109954f867075bfa to your computer and use it in GitHub Desktop.
Save gladchinda/70b2ab4eba2772b8109954f867075bfa to your computer and use it in GitHub Desktop.
const mapStateToProps = function(...args) {
console.log(args[0]); // state
console.log(args[1]); // ownProps
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment