Removing Next.js Got My Blog to 100 on Every Lighthouse Category
textlanes33 · 147 points · 84 comments · 10 hours ago · Open original
Comments
5 preview comments · loading full thread
Log in to use comments
Log in to h4cker, then connect Hacker News to publish comments.
PIpigbearpig6 hours ago
Respectfully, I don't understand this. They never needed Next.js for a static blog.
This is like writing a post about how I didn't need a Ferrari to commute to work and I saved money by taking the bus.
PApampas3 hours ago
My home is much easier to heat now I've moved from an aircraft hanger into a cottage.
OGogou6 hours ago
The vast majority of websites don't need Next.js or React. Those are only useful if you need dynamic and modular updates within the structure, or state management. We've defaulted to React because of the name recognition and simple intertia. It's not a good framework for websites in general.
SWSwellJoe7 hours ago
I use Hugo published to Github Pages for my blog. I've never thought about performance (it's Fast Enough™ when I visit it), but I just checked and it's 100 on pagespeed. The magic of a static HTML blog is you don't have to think about performance. An entire category of problem just disappears.
4P4pkjai7 hours ago
I wrote not so basic CRUD application that uses HTML and vanilla javascript. I don't even minify the javascript. That website loads significantly faster than all the other websites I have made.
Comments
5 preview comments · loading full threadLog in to h4cker, then connect Hacker News to publish comments.
Respectfully, I don't understand this. They never needed Next.js for a static blog. This is like writing a post about how I didn't need a Ferrari to commute to work and I saved money by taking the bus.
My home is much easier to heat now I've moved from an aircraft hanger into a cottage.
The vast majority of websites don't need Next.js or React. Those are only useful if you need dynamic and modular updates within the structure, or state management. We've defaulted to React because of the name recognition and simple intertia. It's not a good framework for websites in general.
I use Hugo published to Github Pages for my blog. I've never thought about performance (it's Fast Enough™ when I visit it), but I just checked and it's 100 on pagespeed. The magic of a static HTML blog is you don't have to think about performance. An entire category of problem just disappears.
I wrote not so basic CRUD application that uses HTML and vanilla javascript. I don't even minify the javascript. That website loads significantly faster than all the other websites I have made.