DEV Community

loading...

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

Collapse
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?

Collapse
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! 👍