Reactjs - Using setState to update a single property on an object

Here is a really good reference on how this should be handled: https://medium.freecodecamp.org/functional-setstate-is-the-future-of-react-374f30401b6b

EDIT: Also for complex state object immutability: https://github.com/kolodny/immutability-helper

1 Like