Created
September 16, 2018 12:50
-
-
Save hg-pyun/b3fe9ff5af66c33ec0ead005e0f00164 to your computer and use it in GitHub Desktop.
currying.12.js
This file contains hidden or 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
| // react | |
| const handleChange = (fieldName) => (event) => {aveField(fieldName, event.target.value)} | |
| <input type="text" onChange={handleChange('email')} ... /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment