News for hackers. Stuff that matters.
Re:Things I wish I knew before moving 50K lines of code to R... by the_gipsy on Friday September 01, 2023 @12:16PM (#37352726)
> We moved away from server rendered UI for very, very good reasons.

In some cases, it's clear that it's a webapp and a SPA is warranted. In some cases, it should just have been a website, but yet there were organizational reasons to use react - producing technologically bad results in detriment of the users.

Re:Things I wish I knew before moving 50K lines of code to R... by CuriouslyC on Friday September 01, 2023 @12:28PM (#37352943)
You can have a "static" site that renders react components to non-root nodes in order to provide interactivity if needed.
Re:Things I wish I knew before moving 50K lines of code to R... by satvikpendem on Friday September 01, 2023 @05:07PM (#37356188)
That is literally what RSCs are, so unlike most of this thread, I am glad to start using them instead of using some template language like in PHP or Python.