with-chakra-ui with nextjs has very low lighthouse performance.
See original GitHub issueBug report
Describe the bug
Simply using the yarn create next-app --example with-chakra-ui with-chakra-ui-app
and not making any changes yields a considerably low lighthouse performance score.
To reproduce
yarn create next-app --example with-chakra-ui with-chakra-ui-app && cd with-chakra-ui-app
yarn dev
- Go to localhost:3000
- Go to chrome -> right-click -> inspect element -> lighthouse -> generate report
Minimal reproduction
Simply do yarn create next-app --example with-chakra-ui with-chakra-ui-app
Expected behavior
I would assume that performance should be higher given that there isn’t a lot of javascript on the very basic app.
Screenshots
Example of getting a score of 30 on a basic Hero index page.
Unused javascript details.
System information
- OS: macOS Catalina 10.15.6
- Browser Chrome Version 85.0.4183.102 (Official Build) (64-bit)
- Version of @chakra-ui/core: @chakra-ui/core@0.5.2
- Version of Node.js: v12.18.3
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to keep your Lighthouse score high in Next.js applications
Follow this Lighthouse score and performance checklist to improve and stabilize the score on your Next.js web apps.
Read more >Bad performance score in lighthouse on almost empty page in ...
I'm currently developing locally, using npm run dev in Next.js. I tested my website ...
Read more >Introducing Lighthouse - Improving your Core Web Vitals
Let's take a look at two examples of a Lighthouse report to see the difference between a site that has healthy Core Web...
Read more >My portfolio got 4x100 in Lighthouse - DEV Community
So I decided to refactor it this week, this time with Next.js, ... which is a significant indicator in Lighthouse performance calculator.
Read more >Smashing Podcast Episode 40 With Mike Cavaliere
Mike: It's not uncommon for me to put together something with Chakra UI and get a very good Lighthouse score. Actually, I was...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here, moved to theme-ui with radix , 100% performance easy with next. It looks an amazing library but can’t get as good ranking with it. Strange that nobody cares to fix it as it make the library unusable … What is the point in making a next site if is not to get 100% ranking ?
@tuncpolat
https://github.com/chakra-ui/chakra-ui/discussions/5647#discussion-3894946