News for hackers. Stuff that matters.
Re:A tale of webpage speed, or throwing away React by andrewingram on Monday August 24, 2020 @08:29AM (#24259944)
At my last job I always tried to be quite strict about adding additional dependencies, if something was over 10kb it had to be very strongly justified.

Our designers wanted to add some SVG animations, they started off with Lottie (https://bundlephobia.com/[email protected]) because they could export directly from After Effects, but I said no chance because of its file size. Briefly considered Greensock (https://bundlephobia.com/[email protected]), but it was also too big for the kind of animations we were looking it.

I'll need to double check what we ended up with, but it didn't have any library code, so each animation was just a self-contained bundle of SVG and CSS animation code, and fairly small.

Edit: I asked around and SVGator (https://www.svgator.com/) is what we ended up using.

Re:A tale of webpage speed, or throwing away React by RandoHolmes on Monday August 24, 2020 @11:43AM (#24261715)
Too many people don't respect the risk of dependencies.