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

preactjs / preact / 5718
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 14 Oct 2019 09:11PM UTC
Jobs 1
Files 19
Run time 3s
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
5718

push

travis-ci

andrewiggins
Properly flush nested renderCallbacks (-3 B)

Previously, we would synchronously flush nested renderCallbacks. This behavior meant that nested setState calls would flush before there state was properly applied in diff, meaning DOM, props, etc. wouldn't have been updated for that setState call when the callback was run (though the state would be correct due to a shortcut we took).

This PR fixes this behavior by only invoking the renderCallbacks for the current setState call synchronously. Nested setState callbacks are queued and executed when those setState cals are applied.

822 of 845 branches covered (97.28%)

855 of 857 relevant lines covered (99.77%)

788.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5718.1 14 Oct 2019 09:11PM UTC 0
99.77
Travis Job 5718.1
Source Files on build 5718
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5718
  • baa79218 on github
  • Next Build on fix/nested-setState-callbacks (#5719)
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