Previously SecretPancake on Feddit

  • 0 Posts
  • 35 Comments
Joined 2 years ago
cake
Cake day: May 19th, 2024

help-circle


  • As for comparisons to gasoline, I’d be leaving the tank empty so that’s not a concern for me.

    You would carry around a whole combustion engine just to leave it empty?? Wtf that’s even more waistful and inefficient. Get an older EV with a small battery if you’re so allergic to it.

    Battery fires are not catastrophic, it just takes a different approach to deal with it and we already know how.















  • There is no latency on static pages. They are rendered once as regular HTML and then saved on the server to be immediately ready for the user. The server is only processing that initial data fetching and rendering once per site. If needed, it can be retriggered. This is great for blogs and other regular pages.

    Server pages on the other hand will do the initial fetch request every time but once the site is there, no data is missing and everything is there. It’s not for everyone. Regular dynamic pages still make sense. For every method there are use cases.

    Disclaimer: I’m speaking from my experience with Next.js which did the same thing long before and React now aims to make that easier. But I’m not sure if React has the distinction between static and server. It’s all new and I haven’t had a project to test it on yet.