Update dependency mobx-react-lite to v4 #44
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:
^3.1.6
->^4.0.0
Release Notes
mobxjs/mobx (mobx-react-lite)
v4.0.5
Patch Changes
87e5dfb5
#3763 Thanks @mweststrate! - Switched observer implementation from using global to local state version. Fixes #3728v4.0.3
Compare Source
Patch Changes
58bb052c
#3670 Thanks @urugator! - fix #3669: SSR:useSyncExternalStore
throws due to missinggetServerSnapshot
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 forbiddenv4.0.2
Compare Source
Patch Changes
f86df867
#3667 Thanks @tony! - Fix package dependency for use-sync-external-store.v4.0.1
Compare Source
Patch Changes
8e58fa95
#3664 Thanks @mweststrate! - (Hopefully) fixed release process for mobx-react-litev3.4.3
Compare Source
Patch Changes
dfeb1f5d
#3651 Thanks @urugator! - fix #3650 regression clearTimers -> clearTimesv3.4.2
Compare Source
Patch Changes
7acaf305
#3645 Thanks @urugator! - fix FinalizationRegistry support check #3643v3.4.1
Compare Source
Patch Changes
4ef8ff3f
#3598 Thanks @urugator! - refactor reaction trackingv3.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, #3005v3.3.0
Compare Source
Minor Changes
59b42c28
#3282 Thanks @urugator! - supportobservable(forwardRef(fn))
, deprecateobservable(fn, { forwardRef: true })
, solve #2527, #3267v3.2.3
Compare Source
Patch Changes
4887d200
#3192 Thanks @urugator! - Support customizingdisplayName
on anonymous components #2721.v3.2.2
Compare Source
Patch Changes
2dcfec09
#3172 Thanks @urugator! - support legacy contextv3.2.1
Compare Source
Patch Changes
320544a5
#2983 Thanks @urugator! - Allow force update to be called infinitely times10c762cc
#2995 Thanks @Bnaya! - Reduce useObserver gc pressurev3.2.0
Compare Source
Patch Changes
28f8a11d
]:v3.1.7
Compare Source
Patch Changes
592e6e99
#2743 Thanks @vkrol! - RemovesideEffects
section inmobx-react-lite
package.json
Updated dependencies [
6b304232
,83b84fd3
,65c7b73b
,989390d4
,dea1cf18
,592e6e99
]:Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.