You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a reaction is triggered, the notify.messages atom gets updated, and execution fails with the error 'cannot change atoms during reaction cycle'.
From what I understand, this behavior corresponds to this test:
Hi!
I've come across a situation where it's necessary to change the state of an atom within a reaction.
When a reaction is triggered, the
notify.messages
atom gets updated, and execution fails with the error 'cannot change atoms during reaction cycle'.From what I understand, this behavior corresponds to this test:
signia/packages/signia/src/__tests__/reactor.test.ts
Lines 20 to 30 in 1d57d3e
Are there any workarounds for this situation?
The text was updated successfully, but these errors were encountered: