re: React Beginner Question Thread ⚛ VIEW POST


I want to implement offline support on my React project I built with the YouTube API. Do you have any suggestions on how I can get started with this implementation?


You might find something like this helpful:

You could also use Create React App which by default lets your app work offline:


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?

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.


Try to post this question on the Google Product forums or in Twitter. I had questions about Google OAuth APIs and got very fast response via Twitter and e-mail...

code of conduct - report abuse