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

developit / preact / 3402
100%

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

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

Jobs
ID Job ID Ran Files Coverage
1 3402.1 02 Apr 2019 06:19AM UTC 0
100.0
Travis Job 3402.1
Source Files on build 3402
  • 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 Repo
  • Travis Build #3402
  • 2a4af0b8 on github
  • Prev Build on master (#3398)
  • Next Build on master (#3411)
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