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

helpscout / hsds-react / 1537 / 1
94%
master: 94%

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

25 Jan 2019 10:10PM UTC coverage: 100.0%. Remained the same
1537.1

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

Source Files on job 1537.1
  • Tree
  • List 0
  • Changed 13
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 234
  • Travis Job 1537.1
  • 8d4c65d8 on github
  • Prev Job for on master (#1535.1)
  • Next Job for on master (#1538.1)
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