>**Note:** >This is a legacy React addon, and is no longer maintained. > >We don't encourage using it in new code, but it exists for backwards compatibility. >The recommended migration path is to use [`immutability-helper`](https://github.com/kolodny/im
npm install react-addons-update>Note:
>This is a legacy React addon, and is no longer maintained.
>
>We don't encourage using it in new code, but it exists for backwards compatibility.
>The recommended migration path is to use immutability-helper. Its version 1.0.0 is a drop-in replacement.
Importing
``javascript`
import update from 'react-addons-update'; // ES6
var update = require('react-addons-update'); // ES5 with npm
If you prefer a
`
In this case, make sure to put the