7 ms·
Please give me a site in NextJS that doesnt break my browser
by tekla 3y ago
Please give me a site in NextJS that doesnt break my browser
- rareitem 3y agothe new Node.js website is made NextJs
- Rauchg 3y agosome that i've built recently with app router that are intentionally minimalistic - https://rauchg.com https://rauchg.com - https://next-ai-news.vercel.app/ https://next-ai-news.vercel.app/ - https://emoji-todo.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/1652093980958683137 - https://twitter.com/rauchg/status/1744183168541007878 https://twitter.com/rauchg/status/1744183168541007878
- stavros 3y agoTwo 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.
- Rauchg 3y agoJS 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 https://rauchg.com/2021/making-the-web-faster#next-momentum