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

developit / preact / 3402 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 02 Apr 2019 06:19AM UTC
Files 21
Run time 1s
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

02 Apr 2019 06:13AM UTC coverage: 100.0%. Remained the same
3402.1

push

travis-ci

marvinhagemeister
(feat) - debugging effect hooks (#1495)

This debugs the passing of an arguments array to hooks that need it. This avoids nasty endless calling bugs. This throws an error to breaking that endless calling.

Or is this actually a pattern that people want calling an effect on every render, personally it always bites me...

This could potentially be extended to useMemo and useCallback, warning about not providing an arguments array makes it a useless function call.

Warn about hooks in classes, I don't know if this is possible?

750 of 1156 branches covered (64.88%)

804 of 804 relevant lines covered (100.0%)

404.41 hits per line

Source Files on job 3402.1
  • Tree
  • List 0
  • Changed 10
  • Source Changed 1
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 3136
  • Travis Job 3402.1
  • 2a4af0b8 on github
  • Prev Job for on master (#3398.1)
  • Next Job for on master (#3411.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

© 2025 Coveralls, Inc