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

helpscout / hsds-react / 1537
94%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2019 10:16PM UTC
Jobs 1
Files 411
Run time 23s
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
1537

push

travis-ci

web-flow
PropProvider Context + Portal Fixes (#454)

This update fixes the transfer for `PropProvider`'s context to content rendered
with `Portal`.

During a React 16 update, we discovered that `PropProvider` values defined
outside of the portal'ed content were not being transferred. This is
due to how `ReactDOM.unstable_renderSubtreeIntoContainer` renders the content
vs. React 16's new context system.

The solution was to create a new HOC (called `contextConnect`), which provides
a component directly with the values from the closest `PropProvider`. Enhancing
`Portal` with this new HOC, I'm able to pass the values through the children
elements. Things work as expected!

3228 of 3228 branches covered (100.0%)

Branch coverage included in aggregate %.

6044 of 6044 relevant lines covered (100.0%)

260.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1537.1 25 Jan 2019 10:16PM UTC 0
100.0
Travis Job 1537.1
Source Files on build 1537
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1537
  • 8d4c65d8 on github
  • Prev Build on master (#1535)
  • Next Build on master (#1538)
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