Re:Show HN: React PWA – A scalable Progressive Web Applicati...
by tirthbodawala on Thursday November 02, 2017 @10:27AM
(#15610659)
Thanks for your comment and raising the question. We are working on documentation and are really moving fast to get it understandable. To understand the architecture I will create a Video thus making it more easy to understand.
Regarding performance, Please try building and running the application. Development mode is not good for measuring performance. The site https://www.reactpwa.com & https://demo.reactpwa.com are built with the same boilerplate and are performing really nice. Any inputs here are appreciated.
Re:Show HN: React PWA – A scalable Progressive Web Applicati...
by dmitriid on Thursday November 02, 2017 @11:51AM
(#15611471)
Many people don’t have the time to watch a video. Docs should be the source of truth
Re:Show HN: React PWA – A scalable Progressive Web Applicati...
by yashthakur on Thursday November 02, 2017 @11:54AM
(#15611503)
Currently the site is down due to heavy traffic. The docs are written and in progress. You can also view pages on github wiki. Thank you for checking it out. :)
Re:Show HN: React PWA – A scalable Progressive Web Applicati...
by crooked-v on Thursday November 02, 2017 @12:55PM
(#15612091)
The bigger problem my team has had with service workers is the infuriating opaqueness caused by even the smallest problem in configuration. Stuff like "it keeps showing a white screen even though I've already manually unregistered the service worker and cleared caches in four different places".
Hard to understand the architecture when there is so many moving parts which makes me not want to use it for my own stuff. Because if I don't know how it works how can I fix/change it when I have to? Also the loader icons last for worryingly long time when I'm running it on my localhost. Which means the caching isn't working as it's supposed to or should it really take that long to load a single webpage? Not trying to attack on anyone here, just observing.
How is your serviceWorker configured? The problem I have had with them is the N+1 (or sometimes more) times it takes to reload changes which is infuriating to me and I've stopped using them altogether since the benefits aren't that great (for me at least).
Maybe if you could bootstrap with this step by step it would be easier to get to know the structure a little better. So say you could first bootstrap à la create-react-app with bare minimum to get things rolling and then add on caching features which there seems to be plenty of.