Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

state change in operator does not trigger an update #517

Open
SearleWork opened this issue Jun 24, 2021 · 0 comments
Open

state change in operator does not trigger an update #517

SearleWork opened this issue Jun 24, 2021 · 0 comments

Comments

@SearleWork
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant