DEV Community

Discussion on: 10 mistakes React developers make

Collapse
 
ogaston profile image
Omar Gaston Chalas

Hi Brian,

In the Mutating state section you talk about a bad using of the creation of a new object, and said this could be solve with the splice method. I think Object.assign({}, person) might be a better way to solve it.

In other hand, i totally agree with the list.

Great post and thanks for sharing