DEV Community

Discussion on: React Beginner Question Thread ⚛

Collapse
 
dan_abramov profile image
Dan Abramov • Edited

You might find something like this helpful: developers.google.com/web/tools/wo...

You could also use Create React App which by default lets your app work offline: github.com/facebookincubator/creat...

Collapse
 
ahylton19 profile image
ahylton19

Okay and if I may ask will Workbox be able to cache the fetched videos from the YouTube API but only rerender the app when the API makes a new call for another video?

Thread Thread
 
dan_abramov profile image
Dan Abramov

I don’t know but I’d be very surprised if it could. Workbox is for caching your own assets, not downloaded assets. I don’t know if it’s possible to cache videos from YouTube but my guess would be no.