Currently, the task object can be mutated without React actually knowing about it. For example, when a task is cancelled, the isCancelled property is updated, but nothing ever calls setState to let React know that something changed. This means that, if you're binding something to the state of a TaskInstance (which is kind of the whole point of this library), you likely don't get the desired behavior until something else eventually calls setState (such as creation a new task instance).
Currently, the
task
object can be mutated without React actually knowing about it. For example, when a task is cancelled, theisCancelled
property is updated, but nothing ever callssetState
to let React know that something changed. This means that, if you're binding something to the state of aTaskInstance
(which is kind of the whole point of this library), you likely don't get the desired behavior until something else eventually callssetState
(such as creation a new task instance).