DEV Community

Discussion on: Simplify controlled components with React hooks

Collapse
meefox profile image
Ju

"THIS APPROACH IS NOT SCALABLE"
unless this.setState({[event.target.name]: event.target.value})
;)

Collapse
stanleyjovel profile image
Stanley Jovel Author

Yes, that is why I'm using that exact approach