Here i am trying to toggle boolean value completed. It is changing in setState but in render it is still the old state. t.completed = !t.com
Here i am trying to toggle boolean value completed. It is changing in setState but in render it is still the old state.
t.completed = !t.com