News for hackers. Stuff that matters.
Re:Breaking up with JavaScript front ends by CharlieDigital on Sunday December 11, 2022 @11:45AM (#33944749)
> I don't understand the "right amount of control" bit

Try Astro.js and you'll understand. If the data has been used to SSR and has no function on the client side, don't send it to the client.

If two multi-billion dollar, multi-national corporations with multi-million dollar project teams can't get it right in a space where every ms counts, then the average team has no hope.

Re:Breaking up with JavaScript front ends by medbrane on Sunday December 11, 2022 @03:02PM (#33946891)
What you ask for is now possible using Next.js and the new React Server Side components. Check the link in the sibling comment tree.
Re:Breaking up with JavaScript front ends by Rauchg on Sunday December 11, 2022 @03:48PM (#33947329)
That's definitely what RSC accomplishes, which I mentioned in my comment.