DEV Community


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

sabbin profile image
Sabin Pandelovitch

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

potouridisio profile image
Ioannis Potouridis Author

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

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