Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.1.0
->9.1.1
Release Notes
mobxjs/mobx (mobx-react)
v9.1.0
Compare Source
Minor Changes
c9260974
#3790 Thanks @mweststrate! - Added support for modern 2022.3 Decorators. #3790v9.0.2
Compare Source
Patch Changes
5063c38e
#3776 Thanks @wbercx! - Fixed premature disposal of class component observers.v9.0.1
Compare Source
v9.0.0
Major Changes
473cb3f5
#3718 Thanks @mweststrate! - - Fixedobserver
inStrictMode
#3671props
/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-derivationsobserver
classes is now explicitly forbiddenPatch Changes
58bb052c
,473cb3f5
]:v7.6.0
Compare Source
Minor Changes
7aab223e
#3565 Thanks @kubk! - Make mobx-react compatible with TS 4.8+v7.5.3
Compare Source
Patch Changes
78d1aa23
#3458 Thanks @egilll! - A slight revamp of the README, wording, and clearer linksv7.5.2
Compare Source
Patch Changes
a23aaf3f
#3452 Thanks @urugator! - fix #3448 regression: static rendering + class componentv7.5.1
Compare Source
Patch Changes
bbcb12dc
#3434 Thanks @urugator! - Support re-mounting of class components. Fixes #3395: observer not working with React@18 <StrictMode>.v7.5.0
Compare Source
Minor Changes
1470b8e4
#3404 Thanks @pixelkritzel! -this.context
is observable if static contextType is setv7.4.0
Compare Source
Minor Changes
4c5e75cd
#3382 Thanks @iChenLei! - replace the deprecated react type definition with recommended type definitionbd4b70d8
#3387 Thanks @mweststrate! - Added experimental / poor man's support for React 18. Fixes #3363, #2526. Supersedes #3005useMutableSource
will trigger warnings in React 18, which is correct and those shouldn't be used anymore.act
is used in unit tests around every programmatic mutation. Without it, changes won't propagate!useSyncExternalStore
and capturing the current values together with the dependency tree of every component instance. However that isn't included in this pull request 1) it would be a breaking change, whereas the current change is still compatible with React 16 and 17. 2) I want to collect use cases where the tearing leads to problems first to build a better problem understanding. If you run into the problem, please submit an issue describing your scenario, and a PR with a unit tests demonstrating the problem in simplified form. For further discussion see #2526, #3005Patch Changes
4c5e75cd
,bd4b70d8
]:v7.3.0
Compare Source
Minor Changes
59b42c28
#3282 Thanks @urugator! -observer(forwardRef(fn))
no longer generates extra<Observer>
element and appliesmemo
correctlyPatch Changes
59b42c28
]:v7.2.1
Compare Source
Patch Changes
8a1ff856
#3103 Thanks @urugator! - Missingrender
on component prototype throws.v7.2.0
Compare Source
Minor Changes
87b3e1de
#2930 Thanks @vkrol! - inject shouldn't change original displayName of component that uses forwardRefConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.