cerebral/overmind

state change in operator does not trigger an update

SearleWork opened this issue · 0 comments

Followup to #483, sandbox updated

The problem is that state changes in operators do not trigger a re-render. If I use an action instead of an immediate assignment the re-render is triggered.

I set up this sandbox:
https://codesandbox.io/s/overmind-issue-483-nqdzw

The code causing the problem is here:
https://codesandbox.io/s/overmind-issue-483-nqdzw?file=/src/overmind/namespaces/transaction/internalActions.ts
on line 21.