-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Better React 18 support #3590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better React 18 support #3590
Changes from 15 commits
223ce6b
fbe7604
6976dec
08ab24d
951b7e8
abfaa7e
b5c26ca
dfb75fd
5006263
229fc05
5ca1cfe
fa05836
8b8d948
27560d4
09e471a
dba0d23
2316e04
dd52381
df38953
9e09fab
f239cb4
c1f375a
c0ececc
829dab9
0ba9985
8c09317
e5492e6
b250f58
e6c6246
b41d71e
b963f7a
344c2cf
98940ad
4ebb124
1c7e16c
4b138b5
21a7590
91e6c1a
26fe732
12ef4cc
98cde8b
e55c51c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| "mobx-react": minor | ||
| "mobx-react-lite": minor | ||
| "mobx": patch | ||
| --- | ||
|
|
||
| TODO |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,7 +36,9 @@ | |
| "url": "https://github.com/mobxjs/mobx/issues" | ||
| }, | ||
| "homepage": "https://mobx.js.org", | ||
| "dependencies": {}, | ||
| "dependencies": { | ||
| "use-sync-external-store": "^1.2.0" | ||
|
urugator marked this conversation as resolved.
Outdated
|
||
| }, | ||
| "peerDependencies": { | ||
| "mobx": "^6.1.0", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. peer dependency probably has to be bumped to make sure globalState.stateVersion is available?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The current impl should be BC, see but bumping dep is a way too.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh that is pretty neat actually! I'd still bump the peerDependency (as the warnings are often ignored), and make this change itself a major version, since it might affect semantics and spreads risk a bit?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this is gonna be a major should it still be focused on React 18 support with otherwise minimal changes, or should this be an opportunity to introduce larger changes? (removing deprecated APIs, hooks, inject, options, cleanups, etc ...) I assume the former.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can do the former; decorators are also around the corner, an I expect after that is a better moment to do a bigger clean up (e.g. legacy decorator support etc) |
||
| "react": "^16.8.0 || ^17 || ^18" | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.