Hacker News new | ask | show | jobs
by SimeVidas 3486 days 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.
2 comments

Well, 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
Oh, you mean their <fuck-visitors> custom element? Yeah, I’ve considered that.
I never could find a name for that, thank you for fixing that problem.
Would having them compressed not work?`
No, 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.