-
Notifications
You must be signed in to change notification settings - Fork 47.4k
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
16.13 patch #18344
16.13 patch #18344
Conversation
* Failing: Dropped effects in Legacy Mode Suspense * Transfer mounted effects on suspend in legacy mode In legacy mode, a component that suspends bails out and commit in its previous state. If the component previously had mounted effects, we must transfer those to the work-in-progress so they don't get dropped.
…k#18316) * improve error message for cross-functional component updates * correctly use %s by quoting it * use workInProgress and lint * add test assertion * fix test * Improve the error message Co-authored-by: Dan Abramov <dan.abramov@me.com>
…book#18330) * Change the warning to not say "function body" This warning is more generic and may happen with class components too. * Dedupe by the rendering component * Don't warn outside of render
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit da83408:
|
Details of bundled changes.Comparing: d28bd29...da83408 react-noop-renderer
react-dom
Size changes (stable) |
Details of bundled changes.Comparing: d28bd29...da83408 react-dom
react-noop-renderer
ReactDOM: size: 0.0%, gzip: -0.0% Size changes (experimental) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Compared diff against changes from all 4 cherry picked PRs. Looks good.
Also downloaded CI artifacts from this branch and verified that the class component warnings are no longer triggered on a repro Sandbox.
Patch release branch for 16.3.
Based on d28bd29, the commit used to build 16.13.0.
Release candidate:
0.0.0-da834083c
Test Plan
Changelog
React DOM
componentWillReceiveProps
,shouldComponentUpdate
, and so on). (@gaearon in #18330)