• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebook / react / 14467
86%

Build:
DEFAULT BRANCH: master
Ran 23 Nov 2016 03:58AM UTC
Jobs 1
Files 239
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
14467

push

travis-ci

web-flow
[Fiber] Add ReactDOMFiber.unstable_createPortal() (#8386)

* [Fiber] Add ReactDOMFiber.unstable_createPortal()

While #8368 added a version of `ReactDOM.unstable_renderSubtreeIntoContainer()` to Fiber, it is a bit hacky and, more importantly, incompatible with Fiber goals. Since it encourages performing portal work in lifecycles, it stretches the commit phase and prevents slicing that work, potentially negating Fiber benefits.

This PR adds a first version of a declarative API meant to replace `ReactDOM.unstable_renderSubtreeIntoContainer()`. The API is a declarative way to render subtrees into DOM node containers.

* Remove hacks related to output field

63 of 63 new or added lines in 7 files covered. (100.0%)

8485 of 10124 relevant lines covered (83.81%)

2849.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
src/renderers/dom/fiber/ReactDOMFiber.js
3
100.0
src/renderers/shared/fiber/ReactFiberBeginWork.js
3
100.0
src/renderers/shared/fiber/isomorphic/ReactPortal.js
4
100.0
src/renderers/shared/fiber/ReactFiberCompleteWork.js
5
100.0
src/renderers/shared/fiber/ReactFiber.js
8
100.0
src/renderers/shared/fiber/ReactFiberCommitWork.js
31
100.0
src/renderers/shared/fiber/ReactChildFiber.js
Jobs
ID Job ID Ran Files Coverage
2 14467.2 (TEST_TYPE=test) 23 Nov 2016 03:58AM UTC 0
83.81
Travis Job 14467.2
Source Files on build 14467
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14467
  • 6434c376 on github
  • Prev Build on master (#14461)
  • Next Build on master (#14468)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc