react-fiber-vs-stack-demo
react-fiber-vs-stack-demo copied to clipboard
⚡️ React Fiber vs Stack Demo
the number in fiber.html will not change if the timeout of `setInterval` is set to 20ms, while stack.html can still change
`shouldComponentUpdate` is never called in stack.html if `SierpinskiTriangle` is function. So `SierpinskiTriangle` must be change to Class component.
Somebody saw your demo and created a repro using Aurelia http://aurelia-thousand-nodes.bigopon.surge.sh/ and here is the repo https://github.com/bigopon/aurelia-thousand-nodes but with values in nodes updating only each second there is no way...
The number inside the circles is fixed to 0. It should increment just like the Stack version demo.
react and react-dom replace to 18.2.0 the example is not smooth