Re:How to Inspect React Server Component Activity with Next....
by csomar on Thursday January 23, 2025 @07:34AM
(#42803347)
It is a solution when all your developers are bootcamped on react for 6 months and don't know how to run a proper back-end. Managers like it because their front-end react dev can add a back-end feature NOW and in 1 hour.
Re:How to Inspect React Server Component Activity with Next....
by jeppester on Thursday January 23, 2025 @02:00PM
(#42806903)
My experience is that even seasoned frontend devs get confused about what happens where and for what reason.
Re:How to Inspect React Server Component Activity with Next....
by davedx on Thursday January 23, 2025 @07:29AM
(#42803323)
It’s awful and I’m pretty sad that it seems the entire nodejs community has adopted next.js as standard. All projects I’ve been involved with use it and none of them use any SSR at all.
Re:How to Inspect React Server Component Activity with Next....
by sesm on Thursday January 23, 2025 @08:46AM
(#42803938)
That's mostly because `create-react-app` was abandoned. There is no default project template for React SPA, so everyone just uses Next, even if they don't need SSR.
Re:How to Inspect React Server Component Activity with Next....
by idrios on Thursday January 23, 2025 @09:52AM
(#42804598)
I didn't know create-react-app was abandoned. What was wrong with it?
Re:How to Inspect React Server Component Activity with Next....
by sesm on Thursday January 23, 2025 @10:17AM
(#42804833)
Nothing, it just required resources to maintain, which Facebook doesn't want to dedicate.
Re:How to Inspect React Server Component Activity with Next....
by meiraleal on Thursday January 23, 2025 @02:12PM
(#42807000)
That's the naive answer. I don't think the promotion of Vercel in React docs and the discontinuation of create-react-app are unrelated.
Re:How to Inspect React Server Component Activity with Next....
by hsavit1 on Thursday January 23, 2025 @08:55AM
(#42804028)
vite exists? what are you even talking about
Re:How to Inspect React Server Component Activity with Next....
by sesm on Thursday January 23, 2025 @09:13AM
(#42804207)
A lot of things exist. But to become a go-to standard a good timing is required. Next.js was getting popular right at the time Facebook abandoned 'create-react-app' template, and many people adopted Next.js even if they didn't need SSR. Vite didn't exist back then.
Re:How to Inspect React Server Component Activity with Next....
by davedx on Friday January 24, 2025 @04:36AM
(#42811722)
But this works fine, I use it for all my side projects: https://vite.dev/guide/#scaffolding-your-first-vite-project
Add in tailwind and a router of choice (I love wouter) and you've got 90% of what you need to build most applications. Vite is so much simpler than webpack and the rest that came before, it's a tiny amount of work to do this.
RSC is a cool feature, but I'm still not convinced that the added churn of thinking about "colours" when building components and structuring the component tree is worth it for the benefits it gives.