ClassifiedPancake

joined 6 months ago
[–] [email protected] -1 points 1 month ago

Bring back chopping off hands for thieves.

[–] [email protected] 0 points 1 month ago (2 children)

Judging by the comments in this thread this will be the one defining mistake that kills Microsoft.

[–] [email protected] 3 points 1 month ago

Legendary talk

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

It does make sense when you mix. You get the benefit of instant rendering and dynamic content all in one. And web dev becomes even more complicated…

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (3 children)

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.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (5 children)

It’s called Server Components. If you actually build a fully static website, there is no DOM modification going on. I would actually not recommend doing that with React because it kinda defeats the purpose. The goal of it is to have a mix of both. The initial render is super fast because it is prerendered once for everyone. Then dynamic data is being fetched if needed and elements are replaced. It also improves SEO.

React 19 is not yet officially released but you can read more about it here https://react.dev/blog/2024/04/25/react-19

[–] [email protected] 3 points 1 month ago (7 children)

I’m a React dev. You can create server side websites, written in JS, that don’t require JS to be turned on in the browser. Granted, this just became a new official feature in React but has already been available with React frameworks like NextJS

[–] [email protected] 1 points 1 month ago
[–] [email protected] 7 points 1 month ago (5 children)

Work takes all the fun out of coding for me. I haven't touched a side project for a year.

[–] [email protected] 4 points 1 month ago (1 children)

It’s not even mandatory to be nude, at least the ones I know in Germany. So you could get accustomed to it slowly. As long as you’re not staring, you’re fine.

In Sylt, a German Island, the nude and dog beaches are mixed.

[–] [email protected] 4 points 1 month ago (3 children)

You could bring a towel and casually hold it in front of the happy area. Maybe people will know what’s going on but they also know you’re trying. We’re all human.

[–] [email protected] 2 points 1 month ago

It used to be huge.

view more: next ›