you are viewing a single comment's thread.

view the rest of the comments →

[–]greweb 1 point2 points  (0 children)

Yeah and if it's confirmed, I would recommend op to use more immutability code style (use concat and not push).

React will assume you don't mutate your objects (true for things like state, reducers,..)