Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

some that i've built recently with app router that are intentionally minimalistic

- https://rauchg.com

- https://next-ai-news.vercel.app/

- https://emoji-todo.vercel.app/

Next.js scales up and down in complexity / ambition. On perf:

- https://twitter.com/rauchg/status/1652093980958683137

- https://twitter.com/rauchg/status/1744183168541007878



Two of those three are simple content sites. Why even use JS at all? I feel like we're reinventing the wheel with a ton of added complexity these days.


JS is used for fast page transitions and stuff like that, but funny enough I'm pretty sure I end up shipping less JS overall by running server-side JS.

Last I checked, a Tweet embed alone was several mbs of JS, and it causes a bunch of layout shift and loads third party resources. On my blog they're pre-rerendered and shipped statically[1]

Probably the strongest reason though is to not set a 'power cap' on your project unnecessarily. It'd suck to have to rewrite a project because you got trapped in a local maxima, which is why i always share you can have your 100 lighthouse cake & eat it too.

[1] https://rauchg.com/2021/making-the-web-faster#next-momentum




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: