Live data from Hacker News

Server-side rendering is a better choice for many applications (2020)

timr.co

11–20 of 286 posts

Re: Server-side rendering is a better choice for many applications (2020)

#11

I think the next major change will be unified hybrid rendering. Render the initial view via SSR for speed, framework automatically injects more and more of the page transparently as user-driven events happen. All of this will be transparent and you only write the app once.

https://en.m.wikipedia.org/wiki/Hydration_(web_development)

Re: Server-side rendering is a better choice for many applications (2020)

#15
post #8

I think the next major change will be unified hybrid rendering. Render the initial view via SSR for speed, framework automatically injects more and more of the page transparently as user-driven events happen. All of this will be transparent and you only write the app once.

So, I was trying to do this literally a decade ago (as in, I remember it being 2013 when I started trying to make an angularjs site work this way). I haven't been doing front-end or "full stack" for awhile, so I'm a bit out of the loop. Why has this seemingly failed to progress in the last decade?

Most of the more modern Javascript SSR frameworks support hybrid in some capacity (Remix, Next, Svelte). I can't speak for Angular as I've never used it.

Re: Server-side rendering is a better choice for many applications (2020)

#16
post #4

More honest, or less clickbaity would be: "is my thiel truth"

Even better would be to use normal words rather than expecting people to know what "thiel truth" means.

I have trouble distinguishing the difference between Thiel Truths and Bathory Truths so this would be helpful for me.

Re: Server-side rendering is a better choice for many applications (2020)

#17
post #6

Isn't "Thiel Truth" just a euphemism for a strongly-held opinion? Not sure why this banal concept has to be attributed to some venture capitalist. Seems like clickbait. That aside, just use whatever fits best for the task at hand. If server-side rendering works better for you, use that. If client-side rendering is preferable, do that instead. Or a mix of the two. No need to be dogmatic about it.

It’s a strongly held opinion that you think most people would disagree with you on. A contrarian belief, not just an opinion.

[deleted]

Re: Server-side rendering is a better choice for many applications (2020)

#18

I think the next major change will be unified hybrid rendering. Render the initial view via SSR for speed, framework automatically injects more and more of the page transparently as user-driven events happen. All of this will be transparent and you only write the app once.

That's what frameworks like NextJS do.

Re: Server-side rendering is a better choice for many applications (2020)

#20
post #8

I think the next major change will be unified hybrid rendering. Render the initial view via SSR for speed, framework automatically injects more and more of the page transparently as user-driven events happen. All of this will be transparent and you only write the app once.

So, I was trying to do this literally a decade ago (as in, I remember it being 2013 when I started trying to make an angularjs site work this way). I haven't been doing front-end or "full stack" for awhile, so I'm a bit out of the loop. Why has this seemingly failed to progress in the last decade?

This is already here and in use. See Next.js using React.js for example. Server-side rendering out of the box and small next needed pieces are loaded continuously when they are needed.
Post reply on HN