googlecodelabs / your-first-pwapp

Code associated with Your First Progressive Web App codelab
https://g.co/codelabs/pwa
Apache License 2.0
638 stars 555 forks source link

Best practice for "inject the weather forecast data" in a production app #48

Closed tiagozc closed 5 years ago

tiagozc commented 8 years ago

In the tutorial, when it says:

...but in a production app, the latest weather forecast data would be injected by the server....

Could you please clarify a recommended way to achieve that? I mean, should I do that generating data into a script tag with the weather content (the first way I thought), or there's a better and recommended option?

petele commented 5 years ago

Hi!

Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, and the new guide is now live.

If you find any issues with the new codelab, please let us know!

Thanks!