Skip to content
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

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

mattrunyon
Copy link
Collaborator

Fixes #1534

@mattrunyon mattrunyon self-assigned this Sep 22, 2023
@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01% ⚠️

Comparison is base (bd08e1f) 46.42% compared to head (3b7294c) 46.41%.

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              
Flag Coverage Δ
unit 46.41% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
packages/dashboard/src/DashboardLayout.tsx 44.91% <0.00%> (-2.84%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gross

Comment on lines +137 to +141
const isClassComponent =
(isWrappedComponent(CType) &&
CType.WrappedComponent.prototype != null &&
CType.WrappedComponent.prototype.isReactComponent != null) ||
(CType.prototype != null && CType.prototype.isReactComponent != null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gross. Good work!

@mattrunyon mattrunyon merged commit 3e834de into deephaven:main Sep 22, 2023
5 checks passed
@mattrunyon mattrunyon deleted the mattrunyon-1534 branch September 22, 2023 22:08
@github-actions github-actions bot locked and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notebooks are empty after Docker container restarts
2 participants