I'm working on a ToDo App. When the user erases a task the task labels do get rerendered but the checkboxes are not; instead they just keep the last value they had until I force a re render changing the mapping array.
For example:
In this moment I will delete the third task, and the result:
This happens, however the data array is correct (fifth task has it's check property set as true).
What can I do to force an updtate in my map const after I delete a task?