1👍
✅
You are trying to access to state
by reference of this
, there u can’t apply mutation of your state.
The mutation mechanism is made to get the state
in every function, then just have to use it as local variable inside of the current function.
Source:stackexchange.com