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
It looks like mobx-form-store is making changes to observables outside of actions. If this is not an easy fix, perhaps there should be a note in the docs that strict mode is not supported? Here's what I'm seeing:
[mobx] Invariant failed: Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: FormStore@2402.isSaving
at invariant (mobx.module.js:2327)
at fail (mobx.module.js:2322)
at checkIfStateModificationsAreAllowed (mobx.module.js:2891)
at ObservableValue../node_modules/mobx/lib/mobx.module.js.ObservableValue.prepareNewValue (mobx.module.js:796)
at setPropertyValue (mobx.module.js:1673)
at FormStore.set [as isSaving] (mobx.module.js:1641)
at FormStore.$IfStatement_7 (FormStore.js:783)
at FormStore.<anonymous> (FormStore.js:837)
at boundThen (asSchemaField.js:162)
at new Promise (<anonymous>)
at FormStore.js:735
at <anonymous>
The text was updated successfully, but these errors were encountered:
It looks like mobx-form-store is making changes to observables outside of actions. If this is not an easy fix, perhaps there should be a note in the docs that strict mode is not supported? Here's what I'm seeing:
The text was updated successfully, but these errors were encountered: