3 ms·
Very impressive engineering on the whole stack. The question that arises to my mind is, maybe even too much engineering? Hard to understand the architecture wh
by tekkk 9y ago
Very impressive engineering on the whole stack. The question that arises to my mind is, maybe even too much engineering?
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.
- tirthbodawala 9y agoThanks 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://www.reactpwa.com & https://demo.reactpwa.com https://demo.reactpwa.com are built with the same boilerplate and are performing really nice. Any inputs here are appreciated.
- dmitriid 9y agoMany people don’t have the time to watch a video. Docs should be the source of truth
- yashthakur 9y agoCurrently 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. :)
- deleted 9y ago[deleted]
- crooked-v 9y agoThe 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".