Closed vkrol closed 3 years ago
+1 need a fix like this to upgrade to MobX 6
@foxhound87 Desperate for this to be merged in so that we can upgrade to MobX6.1. Anything we can do to help?
:tada: This PR is included in version 3.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
In MobX 6.1
Attempt to re-annotate property always throws. Previously mostly undefined outcome.
https://github.com/mobxjs/mobx/releases#:~:text=Attempt%20to%20re-annotate%20property%20always%20throws.%20Previously%20mostly%20undefined%20outcome.The
$submitting
and$validating
properties are defined inBase
(https://github.com/foxhound87/mobx-react-form/blob/master/src/Base.js#L13 + https://github.com/foxhound87/mobx-react-form/blob/master/src/Base.js#L16), so we have to remove this properties fromForm
, because of the error:Fixes #569.