This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# -*- mode: snippet -*-
# uuid: 32f4d017-7d51-4d41-a954-91e2eaf493c5
# contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
# name: mappingToProps
# key: reduxmap
# --
const mapStateToProps = (state, ownProps) => ({
})
const mapDispatchToProps = (dispatch, ownProps) => ({
})
const mergeProps = (stateProps, dispatchProps, ownProps) => ({
...ownProps,
...dispatchProps,
...stateProps,
})