The Right way to Optimize Next.js to Score 100 in lighthouse

preview_player
Показать описание


🎉Our Newsletter is live! Join thousands of other developers

⭐ Timestamps ⭐
00:00 Intro
03:58 1) Optimize Images
08:16 2) Remove Unused Dependencies
09:32 3) Font Optimization
11:03 4) Disabling Animations on Mobile
13:22 5) Lazy Load Animations
15:17 6) SEO Optimization
21:02 7) Accessibility Hacks

-- Special Links

✨ Join Figma for Free and start designing now!

👉 ✨ Join Figma For Professionals And Start Designing with your Team ✨

🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize

🧭 Turn Design into React Code | From prototype to Full website in no time

🧭 Watch Tutorial on Designing the website on Figma

🧭 Watch Create a Modern React Login/Register Form with Smooth Animations

🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools

🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React

🧭 Learn Redux For Beginners | React Redux from Zero To Hero to build a real-world app

🧭 Introduction to GraphQL with Apollo and React

👉 Personal Links:

Made with ❤️ by Coderone
Рекомендации по теме
Комментарии
Автор

Are you using third party analytics? Nope...
Are you using feature flag third party tools? Nope...
Are you using any google tag manager stuff? Nope...
Are you using any third party animation libraries? Nope....

This is not a real world representation of scores.

venicebeachsurfer
Автор

Choosing your CSS/UI component libraries well is an important factor also. When I switched my NextJS web app from Material-UI to Tailwind/HeadlessUI, the Lighthouse scores on the homepage went up 20 points from that alone.

owenwexler
Автор

Not sure why people are hating, i've literlly been reducing bundle size of an app with huge revenue this week with some of the techniques mentioned here.

Jrrs
Автор

Performing lighthouse on the same website(portfolio) the scores are lower
Performance 59
Accessibility 89
Best Practices 100
SEO 98

unhealthytomato
Автор

Bro don't disable animations on phone just use will-change property on the section you want to animate my animations were also lagged on phone but after applying this property it stopped lagging

technologymad
Автор

Try call API, design add more slider, add more image, make with a design layout in fact. Then optimize to see score 😂. Youd shouldn't this layout to check score bacause it 's light, add font

ICOReviewtoken
Автор

Thanks for sharing! I am confusing what different between images in source code and in public folder (performance, bundle size, ... )

quhgwti
Автор

Why dont you move `devDependencies` out of the `dependencies`?

azizoid
Автор

How to show that compression size information?

tjtjtyjtyjt
Автор

heyy, where is this projects source code i found out an bug!!!🐞

MuhdHanish
Автор

Can someone tell what theme does he use for vscode?

oleksandryakob
Автор

very useful, you can do better using the new app router, maybe for a few things

micanal
Автор

whats difference between of nextjs metadata and next-seo ?

Happyday-nnrh
Автор

This is the type of person that say you can be a designer with paint

wemakee
Автор

if start coding, web development or full stack dev today is it an opportunity to get a job remotely

NatnaelAbebe-ogbt
Автор

How about just using Astro instead? It constantly scores high in Light house.

Way_Of_The_Light
Автор

styledcomponents its a mistake, dont use it

gabrielTx
Автор

Since you are a Muslim, you need to change the name “Maboud” because that word means the god we worship, and it is an Arabic name that you can change to “Abd Al Maboud” and this means that you are a servant of God, but your name is one of the names of God, so it is haram

mohammedehap
Автор

based on your name, i'm guessing you are a muslim. If yes, then Assalaamu 'alaykum from Indonesia.

alfieqashwa