Releases: mobxjs/mobx
Releases · mobxjs/mobx
[email protected]
Major Changes
473cb3f5
#3718 Thanks @mweststrate! - - Fixedobserver
inStrictMode
#3671- [BREAKING CHANGE] Class component's
props
/state
/context
are no longer observable. Attempt to use these in any derivation other than component'srender
throws and error. For details see https://github.com/mobxjs/mobx/blob/main/packages/mobx-react/README.md#note-on-using-props-and-state-in-derivations - Extending or applying
observer
classes is now explicitly forbidden
- [BREAKING CHANGE] Class component's
Patch Changes
[email protected]
Patch Changes
-
58bb052c
#3670 Thanks @urugator! - fix #3669: SSR:useSyncExternalStore
throws due to missinggetServerSnapshot
-
473cb3f5
#3718 Thanks @mweststrate! - - Fixedobserver
inStrictMode
#3671- [BREAKING CHANGE] Class component's
props
/state
/context
are no longer observable. Attempt to use these in any derivation other than component'srender
throws and error. For details see https://github.com/mobxjs/mobx/blob/main/packages/mobx-react/README.md#note-on-using-props-and-state-in-derivations - Extending or applying
observer
classes is now explicitly forbidden
- [BREAKING CHANGE] Class component's
[email protected]
[email protected]
Patch Changes
8e58fa95
#3664 Thanks @mweststrate! - (Hopefully) fixed release process for mobx-react-lite
[email protected]
[email protected]
[email protected]
[email protected]
Minor Changes
-
8cf4784f
#3559 Thanks @urugator! - Proxied observable arrays can now safely read/write out of bound indices. See https://github.com/mobxjs/mobx/discussions/3537 -
223e3688
#3551 Thanks @deadbeef84! - Added new optionsignal
towhen()
, to support abortion using an AbortSignal / AbortController.