Forcing use of assign to modify context #1646
Unanswered
oriSomething
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why doing that:
invoke
running)Why not doing that:
development
version)@xstate/immer
Consideration:
Proxy
is probably the best way to implement it, butProxy
is still not fully supported on every engine, so there might be a good idea to allow to turn this validations off (It's possible to partly implement something such as this in ES5 compatible, but it's probably waste of time)References:
Beta Was this translation helpful? Give feedback.
All reactions