News for hackers. Stuff that matters.

brianmathews

Re:Ask HN: Did your AWS bill literally double from last night? on Monday September 23, 2019 @11:32PM (#21056243)
no it doesn't
Re:Ask HN: Did your AWS bill literally double from last night? on Sunday September 22, 2019 @12:25AM (#21039664)
It will include your historical activity.
Re:Ask HN: Did your AWS bill literally double from last night? on Sunday September 22, 2019 @12:25AM (#21039663)
The API charges per use, but not the cost explorer dashboard itself.
Re:Urql: a GraphQL client library on Friday May 31, 2019 @11:23AM (#20061731)
From recent bundle audits of e-commerce sites built with React, less than 20% of the code was actual custom site code and the remaining 80% was from dependencies.

If the bundle size is 550kb min/gzipped, that's 110kb of app code, and 440kb of dependencies. Some of the largest dependencies in a recent audit were: moment (60kb), swiper (32kb), lodash (24kb), react-select (26kb), raven.js (12kb), polyfills (25kb), mobile-detect (15kb), and then a bunch of smaller dependencies that made up the remaining 300kb.

Using this performance budget calculator you can quickly see how each 25kb of JS adds ~.3s to your TTI on a mobile phone:

https://perf-budget-calculator.firebaseapp.com/

If developers shop around for smaller alternatives of each dependency, then they can cut their load times pretty drastically.

Re:Ask HN: Best tiny JavaScript framework? on Thursday March 09, 2017 @11:50AM (#13830508)
Preact's size for the amount of functionality and performance you get is unbeatable, I'd say.

If you do find something smaller, the amount of glue or performance related code you add will probably end up being more than Preact.