react-fiber-vs-stack-demo icon indicating copy to clipboard operation
react-fiber-vs-stack-demo copied to clipboard

Fiber demo does not increment the number inside the circles

Open miguel550 opened this issue 7 years ago • 5 comments

The number inside the circles is fixed to 0. It should increment just like the Stack version demo.

miguel550 avatar Sep 29 '17 03:09 miguel550

Hi @miguel550 thanks for reporting this. Do you see this by installing latest dependencies? I can't repro on the github hosted app https://claudiopro.github.io/react-fiber-vs-stack-demo/

claudiopro avatar Sep 29 '17 11:09 claudiopro

It's happening to the Fiber version in Chrome Version 61.0.3163.100 (Official Build) (64-bit) for Windows 10 using the github hosted app. In Microsoft Edge seems to work.

miguel550 avatar Oct 07 '17 04:10 miguel550

Hmm, numbers increment on Safari 11.0.2 but not Chrome

Denhai avatar Jan 03 '18 03:01 Denhai

Same issue with Firefox

jsobell avatar Mar 18 '18 21:03 jsobell

I was able to reproduce this quite easily by CPU throttling in chrome. On my computer it works properly incrementing the numbers until I apply CPU throttling. I think Fiber is just optimizing out the number incrementing in some scenarios. I did a similar test of Stencils version of the test and I saw a form of tearing where some numbers updated separately from others. In another example from a different framework under cpu throttling I saw the numbers update but it visibly stall like the stack version, even though it was as fast as fiber in normal operation.

ryansolid avatar Feb 12 '19 06:02 ryansolid