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
At the current state, if you use emitChange to update the form state in quick succession, the updates enter a race condition where the last called wins. For example, given the following scenario:
At the current state, if you use emitChange to update the form state in quick succession, the updates enter a race condition where the last called wins. For example, given the following scenario:
the second emitChange will override the first one, so
name
will be accidentally restored to the original value instead of being updated.Possible solutions may be:
emit*
as a chain-able/async resource, e.g.await emitChange(fieldName, value)
;emitBulkUpdate({key_1: value, key_2: value})
;The text was updated successfully, but these errors were encountered: