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

handle deep mounted memo components properly #171

Merged
merged 2 commits into from
Sep 27, 2020

Conversation

nathanmarks
Copy link
Contributor

Similar to this PR: #167

We're not currently handling .memo components with deep mount serialization the same way we handle other components.

This addresses that. This results in no diff for deep snapshots when wrapping components in memo.

@codecov
Copy link

codecov bot commented Sep 25, 2020

Codecov Report

Merging #171 into master will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
+ Coverage   97.19%   97.24%   +0.05%     
==========================================
  Files           6        6              
  Lines         107      109       +2     
  Branches       41       42       +1     
==========================================
+ Hits          104      106       +2     
  Misses          3        3              
Impacted Files Coverage Δ
src/mount.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4f83d3...33a39f0. Read the comment docs.

@VincentLanglet
Copy link
Collaborator

Thanks !

@VincentLanglet VincentLanglet merged commit 6d326a5 into adriantoine:master Sep 27, 2020
@VincentLanglet
Copy link
Collaborator

Released as 3.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants