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

metalabdesign / flowtip / 214
81%
master: 57%

Build:
Build:
LAST BUILD BRANCH: renovate/react-monorepo
DEFAULT BRANCH: master
Ran 15 Mar 2018 04:00AM UTC
Jobs 1
Files 11
Run time 0s
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
214

push

travis-ci

10xjs
Add support for React 16

`findDOMNode` is slated for deprecation soon, and support in React 16 appears to be partially dropped already.

For us to transition completely away from it, we would need to pass a ref prop down to the provided `content` component, including it as part of the `FlowTip` api. This is less ideal than automatically resolving the correct ref as `findDOMNode` currently does and would make the lib more complicated to use.

Until `findDOMNode` support is dropped completely, or we decide on a clean mechanism for passing the ref around, we rely on a custom `findDOMNOde` function that will safely attempt to detect the rendered node using react fiber internals when necessary. This universally supports React 16 and earlier versions.

(See: https://stackoverflow.com/questions/48062095/update-to-react-16-finddomnode-stops-working#answer-48273014)

569 of 878 branches covered (64.81%)

569 of 703 relevant lines covered (80.94%)

20.25 hits per line

Jobs
ID Job ID Ran Files Coverage
1 214.1 15 Mar 2018 04:00AM UTC 0
80.94
Travis Job 214.1
Source Files on build 214
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #214
  • 6fef33a9 on github
  • Next Build on fiber-support (#217)
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

© 2025 Coveralls, Inc