Hacker News new | ask | show | jobs
by ijustdontcare 3156 days ago
Initial page load: 279kb Click on 'Features': 1.58Mb (40 requests) Click on 'PWA': 2.88Mb (74 requests) ...

If you visit this page on mobile and start to scroll down while it's still loading, you'll have to scroll down multiple time because the loaded content resets the scrollbar (Firefox on Android)

Top comment: 'Impressive engineering on the whole stack'

Really?

2 comments

Hey there, the request you see are being loaded in background, thus not affecting the user experience at all, its not the size of each page, it preloads data when ever it can. I.e. Cache by service worker. Its for best user experience, regarding the page restoring scroll, that is what I did, which I guess was not that of great Idea. But yes we worked hard in it and its pretty useful if you check it yourself
Welcome to React.

"I use React over Angular because it is so small! Also here are my 2 MB of 3rd party modules that are loaded directly on the home view, that the other frameworks come with and lazy load when needed".

> Welcome to React.

Looks like less than 200kb of JS. And the initial page load is less than 30kb HTML/CSS.