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(Portal): make compatible with React Fiber #1470

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

cpunion
Copy link
Contributor

@cpunion cpunion commented Mar 16, 2017

Tested with react@15.4.2 and react@16.0.0-alpha4

Fix #1458

@codecov-io
Copy link

codecov-io commented Mar 16, 2017

Codecov Report

Merging #1470 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1470   +/-   ##
=======================================
  Coverage   99.74%   99.74%           
=======================================
  Files         141      141           
  Lines        2363     2363           
=======================================
  Hits         2357     2357           
  Misses          6        6
Impacted Files Coverage Δ
src/addons/Portal/Portal.js 100% <100%> (ø)

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 562e769...e0b52b0. Read the comment docs.

@levithomason
Copy link
Member

Excellent work! I've checked the source and it appears the callback is indeed called on completion.

@levithomason levithomason changed the title Compatible with React Fiber fix(Portal): make compatible with React Fiber Mar 16, 2017
@levithomason levithomason merged commit f69d6bf into Semantic-Org:master Mar 16, 2017
@levithomason
Copy link
Member

Released in semantic-ui-react@0.67.2.

@cpunion
Copy link
Contributor Author

cpunion commented Mar 25, 2017

Thanks!

@cpunion cpunion deleted the compatible-react-fiber branch March 25, 2017 10:27
@jpollard-cs
Copy link

jpollard-cs commented Apr 20, 2017

you could have used v16's unstable_createPortal 😄

@levithomason
Copy link
Member

Guessing this would abandon React v15 users?

@jpollard-cs
Copy link

move fast and break things!

wasn't entirely a serious comment

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

Successfully merging this pull request may close these issues.

None yet

4 participants