1export default connect(mapStateToProps)(TodoApp)//react-redux example of currying
1//event handling using currying
2const handleChange = (fieldName) => (event) => { saveField(fieldName, event.target.value)}<input type="text" onChange={handleChange('email')} ... />