haydenbleasel / website

My personal website.
https://haydenbleasel.com
86 stars 12 forks source link

Big TBT in Lighthouse reports #193

Closed bmstefanski closed 1 month ago

bmstefanski commented 1 month ago

Hi @haydenbleasel! Thanks for the awesome template. I've been using it for a while, and it's great and beautiful! :)

I've observed that TBT is way too big for such a simple site, and it seems that it's caused by the react-activity-calendar library, which loads a lot of unnecessary dependencies into the client code. I forked the repository and made it possible to use it as RSC. On my website, it reduces TBT to 0. Maybe you will find this helpful!

RSC: https://github.com/bmstefanski/rsc-activity-calendar (36.5 kB gzipped -> 0 kB)

image

Thanks!

haydenbleasel commented 1 month ago

Hey @bmstefanski This is awesome and great find! I'll give this a go later today 🙏