4 ms·
The size of the React and Victory libraries in the demo is close to 800 KB. How can this be reduced? For instance, it took ~12 seconds to render the chart with
by SimeVidas 10y ago
The size of the React and Victory libraries in the demo is close to 800 KB. How can this be reduced? For instance, it took ~12 seconds to render the chart with network and CPU throttling.
- jeeeeefff 10y agoWell, you could always take the Forbes approach and show a ten-second fullscreen ad. Then you've only got two seconds to cover for. :P
- SimeVidas 10y agoOh, you mean their <fuck-visitors> custom element? Yeah, I’ve considered that.
- gabrielcsapo 10y agoI never could find a name for that, thank you for fixing that problem.
- ludamad 10y agoWould having them compressed not work?`
- SimeVidas 10y agoNo, because there’s a limit on the amount of JavaScript code that low-end devices can process before the user experiences significant delays, and that limit is pretty low. Most of us westerners don’t own these low-end devices, so it’s not easy to test.