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

facebook / react / 13984
86%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2016 03:39AM UTC
Jobs 1
Files 231
Run time 15s
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
13984

push

travis-ci

web-flow
Remove pendingUpdate optimization in ReactDOMSelect (#8175)

This removes an optimization that avoids call update on ReactDOMSelect
twice in an onChange event.

https://github.com/facebook/react/commit/2601b6a0b#commitcomment-19643403

None of the other controlled components do this. The only reason to do it
here is because of the loop.

I'd like to remove this because I'd like to remove all the side-effects
that happen in onChange, other than user defined behavior. I'd also like to
get rid of state that track sequences. It is easier if everything is just
diffing.

Alternatively I can store the previous value that we processed and only
reprocess if the value has changed. However, that would requires the array
for multiple values to be immutable and I don't think we enforce that
right now.

In Fiber, I believe that we'll be able to batch both these updates into a
single commit.

7 of 7 new or added lines in 1 file covered. (100.0%)

8162 of 9316 relevant lines covered (87.61%)

3078.86 hits per line

Jobs
ID Job ID Ran Files Coverage
2 13984.2 (TEST_TYPE=test) 02 Nov 2016 03:39AM UTC 0
87.61
Travis Job 13984.2
Source Files on build 13984
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #13984
  • e5d85fbe on github
  • Prev Build on master (#13983)
  • Next Build on master (#13997)
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