question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

with-chakra-ui with nextjs has very low lighthouse performance.

See original GitHub issue

Bug 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

  1. yarn create next-app --example with-chakra-ui with-chakra-ui-app && cd with-chakra-ui-app
  2. yarn dev
  3. Go to localhost:3000
  4. 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.

image

Unused javascript details.

image

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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
zumbidowebcommented, Aug 29, 2022

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 ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found