3 ms·
Just read the docs for useReducer. It says you should not change the original object. You have to make a copy.
by petilon 4y ago
Just read the docs for useReducer. It says you should not change the original object. You have to make a copy.
3 ms·