-
Notifications
You must be signed in to change notification settings - Fork 32
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
fix: Dehydration of class components #1535
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1535 +/- ##
==========================================
- Coverage 46.42% 46.41% -0.01%
==========================================
Files 556 556
Lines 35711 35718 +7
Branches 8916 8923 +7
==========================================
Hits 16580 16580
- Misses 19081 19088 +7
Partials 50 50
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
Gross
const isClassComponent = | ||
(isWrappedComponent(CType) && | ||
CType.WrappedComponent.prototype != null && | ||
CType.WrappedComponent.prototype.isReactComponent != null) || | ||
(CType.prototype != null && CType.prototype.isReactComponent != null); |
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.
Gross. Good work!
Fixes #1534