DEV Community

Discussion on: How I think when I write a React component. 🤔

Collapse
 
sabbin profile image
Sabin Pandelovitch • Edited

Nice. One observation only, if you use desconctructive for the map function object, why don't you use it on the handleChange also?

Collapse
 
potouridisio profile image
Ioannis Potouridis

No reason at all, I got used to write that handler this way.

I'll update it for code consistency though. Thanks! 👍