News for hackers. Stuff that matters.
Re:Show HN: React PWA – A scalable Progressive Web Applicati... by ijustdontcare on Thursday November 02, 2017 @02:00PM (#15612670)
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?

Re:Show HN: React PWA – A scalable Progressive Web Applicati... by tirthbodawala on Thursday November 02, 2017 @03:44PM (#15613597)
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
Re:Show HN: React PWA – A scalable Progressive Web Applicati... by d2kx on Thursday November 02, 2017 @02:13PM (#15612792)
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".

Re:Show HN: React PWA – A scalable Progressive Web Applicati... by scottmf on Thursday November 02, 2017 @02:48PM (#15613149)
> Welcome to React.

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