function matchDispatchToProps(dispatch){
return bindActionCreators({select: select}, dispatch)
}
const dispatchToProps = dispatch => {
return {
logout: () => { // this.props.logout()
dispatch({ type: "USER_LOGOUT" })
}
}
}
git remote add origin https://github.com/никнейм/названиепапки.git
6. git init
7. git add --all
7. git commit -m "комент"
8. git remote add origin https://github.com/....
9. git push -u --all
git config core.autocrlf true
state.shift
.