Open jahirfiquitiva opened 6 months ago
I'm funding this issue so if someone is able to fix it and achieve the Expected behavior
mentioned in the issue description, said person will be paid.
I'm offering $75 USD if you achieve point #1
, and $25 USD additional if you achieve point #2
.
Hey Jahir, I've looked into this but I haven't had any luck with it so far. I thought I'd update you on what I've explored:
I'll keep on playing around with it, to see if I spot anything else. Next steps might be to comment everything out and add stuff back in until you find a performance regression.
Thank you so much @gregives ! 🫶
Yeah, I was just checking with bundle analyzer last night, and there's a couple things that I would rather not be part of the client bundle.
Probably because when using "use client"
everything inside of it and its children components, will be added to the bundle.
So, I think one thing I (or we) could try is to try for server components inside client components to not be part of the client bundle.
Or reduce the amount of dependencies used in client components. Although that might mean missing some functionality.
Oh, and I wish there was a way to use Preact (instead of React) on the client. Like it was possible in previous versions of Next.js
We'll keep trying, thanks again!
Requirements
URL
https://jahir.dev
What happened?
PageSpeed Insights
Core Web Vitals Assessment fails, and the performance is ~86 on mobileDiagnostics mention:
Reproduction Steps
Deploy the project
Expected behavior
Core Web Vitals Assessment should pass with everything in green. Performance on mobile should be at least 90.
Deployment time should take less than 1 min and 30 secs, which is almost what it takes to run
git pull ... && yarn && yarn build
locally.Funding