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: Context Provider could crash update, #944 #983

Merged
merged 1 commit into from
May 22, 2018
Merged

Conversation

theKashey
Copy link
Collaborator

@theKashey theKashey commented May 18, 2018

If Provider lays inside Div we have to repeat the same trick, as we do to construct instance props - merge "next" and "current".

Right now - it will throw an error :( - #944 (comment)

@codecov-io
Copy link

Codecov Report

Merging #983 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #983   +/-   ##
=======================================
  Coverage   88.73%   88.73%           
=======================================
  Files          30       30           
  Lines         772      772           
  Branches      184      184           
=======================================
  Hits          685      685           
  Misses         72       72           
  Partials       15       15
Impacted Files Coverage Δ
src/reconciler/hotReplacementRender.js 87.15% <0%> (ø) ⬆️

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 ca047a3...b0e2b5b. Read the comment docs.

@theKashey theKashey mentioned this pull request May 18, 2018
@theKashey theKashey merged commit 352e61b into master May 22, 2018
@gregberge gregberge deleted the fix-context branch July 11, 2018 15:42
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.

2 participants