Files
react.dev/docs
Timur Carpeev e193bfb300 Avoid mutating state in the example code
According to react documentation it is advised to: 
NEVER mutate this.state directly, as calling setState() afterwards may replace the mutation you made. Treat this.state as if it were immutable.
https://facebook.github.io/react/docs/animation.html

In this particular case it is probably doesn't matter since setState is called directly after mutation, but it does provide a bad example of state mutation.

Another way of removing an item from an array can be `newItems = this.state.slice(0,i).concat(this.state.slice(i+1))` however the meaning can be less obvious to some.
2015-11-27 12:33:57 +01:00
..
2015-10-12 15:33:32 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-12 15:33:32 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-12 15:33:32 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-12 15:33:32 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-09 14:44:24 -07:00
2015-11-05 15:33:52 -05:00
2015-03-12 00:33:40 +09:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-10 16:05:58 -04:00
2015-10-01 09:38:02 -07:00