From the course: React: Building Progressive Web Apps (PWAs)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Going offline - React.js Tutorial
From the course: React: Building Progressive Web Apps (PWAs)
Going offline
- [Instructor] Let's go ahead and run a quick build, and then we'll serve up our build folder on localhost 5000 so we can check out what's going on. So let me hit a refresh on this, we'll see art videos and all of our different videos being loaded. Now I'm going to open up the developer tools here, and specifically I want to look at the network resources. So the network resources panel shows us all of the different resources that are part of this page. And when I refresh, I'm going to see all of them loaded here. So let's take a closer look. If I make this a little bit wider, we'll see some of our chunks. So anything with a chunk is something from our app that's been served up by Webpack. So we have our service worker here. We also have all of these different videos that are being loaded by Fetch. The various pieces of our application, things like useEffect, our DOM manipulation stuff that we're doing with React, all of that is in these chunk files that are being served up by the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.