coderplanets_web
coderplanets_web copied to clipboard
chore(deps): bump mobx-react from 7.2.0 to 7.5.2
trafficstars
Bumps mobx-react from 7.2.0 to 7.5.2.
Release notes
Sourced from mobx-react's releases.
[email protected]
Patch Changes
a23aaf3f#3452 Thanks@urugator! - fix #3448 regression: static rendering + class component[email protected]
Patch Changes
bbcb12dc#3434 Thanks@urugator! - Support re-mounting of class components. Fixes #3395: observer not working with React@18 <StrictMode>.[email protected]
Minor Changes
1470b8e4#3404 Thanks@pixelkritzel! -this.contextis observable if static contextType is set[email protected]
Minor Changes
4c5e75cd#3382 Thanks@iChenLei! - replace the deprecated react type definition with recommended type definition
bd4b70d8#3387 Thanks@mweststrate! - Added experimental / poor man's support for React 18. Fixes #3363, #2526. Supersedes #3005
- Updated tests, test / build infra, peerDependencies to React 18
- [breaking icmw upgrading to React 18] Already deprecated hooks like
useMutableSourcewill trigger warnings in React 18, which is correct and those shouldn't be used anymore.- [breaking icmw upgrading to React 18] When using React 18, it is important that
actis used in unit tests around every programmatic mutation. Without it, changes won't propagate!- The React 18 support is poor man's support; that is, we don't do anything yet to play nicely with Suspense features. Although e.g. startTransition basically works, MobX as is doesn't respect the Suspense model and will always reflect the latest state that is being rendered with, so tearing might occur. I think this is in theoretically addressable by using
useSyncExternalStoreand 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
[email protected]
Minor Changes
59b42c28#3282 Thanks@urugator! -observer(forwardRef(fn))no longer generates extra<Observer>element and appliesmemocorrectlyPatch Changes
- Updated dependencies [
59b42c28]:[email protected]
Patch Changes
8a1ff856#3103 Thanks@urugator! - Missingrenderon component prototype throws.
Commits
5e6584bVersion release (#3453)a23aaf3fix: SSR rendering causing stack overflow (#3452)07d8186Version release (#3444)e63c2dfadd changeset (#3443)4dac3daVersion release (#3428)bbcb12dFix #3395: observer not working with <React.StrictMode> (#3434)5282accLittle grammar fix in doc (#3332)63698d0fix(TS): Apply 'object' constraint where required (#3427)09a8fe4Rule 'no-anonymous-observer' is deprecated. Removed from recommended,… (#3423)45e3642✏️ One character typo in the docs. (#3419)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)