|
|
|
|
|
by muizelaar
2983 days ago
|
|
The performance is still bad. It's spending roughly 20ms doing JS work per frame. React profiles are not very easy to interpret but perhaps you're doing a lot more work per frame than you should be? Here's the profile: https://perfht.ml/2F7ohwx |
|
A lot of the work seems to be the React diffing? The only thing that changes between frames when dragging the slider is the style attribute.
Furthermore, the author seems to have included the development version of React. And the author used development settings for the webpack compilation. The compiled JS is full of eval() calls.