From the course: React: Building Progressive Web Apps (PWAs)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Lighthouse metrics

Lighthouse metrics - React.js Tutorial

From the course: React: Building Progressive Web Apps (PWAs)

Start my 1-month free trial

Lighthouse metrics

- [Instructor] Now that we have an understanding of Lighthouse, let's go ahead and run an audit of our own app. So I'm going to run npm start and this will run my app on local host 3000. So notice that I've run this as a guest. Typically it's a good rule of thumb to run the Lighthouse tools only when you're in guest mode or incognito mode. Sometimes the extensions and your browser settings can interfere with good audit of your content. So I'm going to go ahead and open up our developer tools. We will then open the Audits tab and Run Audits as we did before. So this is going to run this on our local host application. So great, we see that our performance metrics are coming in pretty strong for getting away with a lot 'cause our app is pretty small. But this is giving up information and opportunities for improvement. So one thing I noticed is that we should minify our JavaScript. When we run our build that will minify our JavaScript automatically, so that's a good thing to point out. We…

Contents