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
services (promises) attached to states should be triggered once
(Bug) Actual result:
services (promises) attached to states are triggered twice.
if withContext call are chained like: .withContext({}).withContext({}) actions will be tripled.
(Bug) Potential fix:
Potential fix for now for this is to downgrade to 4.6.0
The text was updated successfully, but these errors were encountered:
Bug
Description:
When withContext is called on Machine object, interpreter triggers twice all services invoked on states.
Issue reproduced here: https://codesandbox.io/s/xstate-withconfig-bug-lbkny
Expected result:
services (promises) attached to states should be triggered once
(Bug) Actual result:
services (promises) attached to states are triggered twice.
if withContext call are chained like: .withContext({}).withContext({}) actions will be tripled.
(Bug) Potential fix:
Potential fix for now for this is to downgrade to 4.6.0
The text was updated successfully, but these errors were encountered: