44 ms·
React is quite a minimal framework (or not even a framework), actually. It's just that it has a huge following and takes some mind-bending to actually benefit f
by bayesian_horse 5y ago
React is quite a minimal framework (or not even a framework), actually. It's just that it has a huge following and takes some mind-bending to actually benefit from it.
- brabel 5y agoWhat you consider minimal, some consider a 100-lb gorilla.
- dragonwriter 5y ago> What you consider minimal, some consider a 100-lb gorilla A 100-lb gorilla is...quite minimal, actually.
- bayesian_horse 5y agoThat's about the weight of a chimp.
- lioeters 5y ago> Male gorillas of the Western lowland gorilla (Gorilla gorilla gorilla) subspecies have average weight up to 140 kg (310 pounds) while females have up to 90 kg (200 pounds). https://gorillafacts.org/how-much-does-a-gorilla-weigh/ https://gorillafacts.org/how-much-does-a-gorilla-weigh/
- brabel 5y agoI think in metric system :D
- habibur 5y agoLast time I checked, React itself was 150kb minified. OK for a 2mb page. Not ok for 20kb pages.
- joesb 5y agoWhy not? At that size, it takes less than your client can blink to load it.
- acdha 5y agoIf your client is an otherwise idle system with the latest browser, a fast wired connection, and the developers carefully monitor time to render. In most cases, at least one of those is not true and the developers are using something like CRA so your site has a number of users who see tens of seconds of nothing while their Android phone downloads and runs a 1MB JS bundle. Bonus points if the marketing department has tossed in a tag manager which delays that even longer.
- bayesian_horse 5y agoI'm not in the business of building 20kb pages. Working with any significant backend API, loading any images, or even your own javascript functionality takes you over that limit easily. And then there is caching and CDNs...