Better HN
topnewbestaskshowjobs
Log inSign up

brianmathews

23 karma · joined Aug 22, 2016 (10y ago) · 5 submissions

Submissions

comment 7y ago · link · parent

no it doesn't

comment 7y ago · link · parent

It will include your historical activity.

comment 7y ago · link · parent

The API charges per use, but not the cost explorer dashboard itself.

comment 7y ago · link · parent

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.

comment 9y ago · link · parent

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.