We use the dataloader pattern (albeit an in-house Golang implementation) and it has solved all our N+1 problems.
E2E type safety in our case is handled by Typescript code generation. It works very well. I also happen to have to work in a NextJS codebase, which is the worst piece of technology I have ever had the displeasure of working with, and I don't really see any meaningful difference on a day to day basis between the type sharing in the NextJS codebase (where server/client is a very fuzzy boundary) and the other code base that just uses code generation and is a client only SPA.
For stitching we use Nautilus and I've never observed any issues with it. We had one outage because of some description that was updated in some dependency and that sucked but for the most part it just works. Our usage is probably relatively simple though.
I have used RSCs only in Next.js, but to answer your questions:
1./2.: You can update it optimistically. [0]
3.: Depends on the framework's implementation. In Next.js, you'd invalidate the cache. [1][2]
4.: In the case of the like button, it would be a "form button" [3] which would have different ways [4] to show a pending state. It can be done with useFormStatus, useTransition or useActionState depending on your other needs in this component.
5.: You block the double request with useTransition [5] to disable the button.
6.: In Next, you would invalidate the cache and would see your like and the like of the other user.
It's not really the scope of the article, but what about adding a client directive [0] and dropping in your event handler? Just like that, you're back in a familiar CSR React world, like in the "old" days.
I've been working on The Road to Next [0] for almost a year. In the end, it's more than just a course on Next.js. It's a deep dive into full-stack development, covering key third-party integrations that empower you to build your own products.
Oh hell yeah, your Road to React was exactly what the doctor ordered when I first waded my way into the full stack ocean years ago. I'm excited to see how this progresses!
Hi HN! I know not many of you are hyped about paid courses, but here I am, almost 8 years after launching my (free) book The Road to React on HN :) [0]
Yesterday, I launched the Early Access for The Road to Next! This self-paced video course already has hours of in-depth content, and registration will be available for one week. After that, I’ll dedicate my time to supporting the cohort’s learning journey, finalizing the remaining content, and refining the course to make it even better.
In the course, students will build a complete full-stack application, covering everything from the UI to the database — and everything in between — with a strong focus on DX and UX.
There are two Journeys in the course which build up on top of each other:
The Developer Journey lays a solid foundation, equipping students with core concepts and practical skills. Along the way, they'll work with various database models, including Session (custom authentication), User, Ticket, and Comment. Developers will also face real-world challenges, e.g. understanding the quirks of floating-point arithmetic and rounding behavior.
As they progress to the Engineer Journey, they’ll dive into advanced topics like message queues and email systems, everything while implementing features such as user organizations, memberships, and invitations. For this journey the code will be available, but the recordings are still in the making.
Since I've been active here for years, I wanted to share this with you too. If you have any questions, ask me anything!
I am working on my next course "The Road to Next" which teaches full-stack React with React 19 and Next 15. I started this full-time adventure 6 months ago and I am knee deep into recording the lessons. The project with all the code and the step by step instructions are already there and I am super eager to hear what people think about it.
However, since this is my first recorded course (I did only written content before), it really takes time and effort to make the videos high quality. That's the biggest struggle for me here, but every day I push through it! For every lesson that I need to record, I have a post-it on a cupboard and every evening I tear one or two of them off with my son :)
Working on The Road to Next [0] as a video course to teach developers about full-stack development. It's in great shape, but I am still waiting for the official release of React 19 and Next 15. Not an easy task though, because some APIs are still changing (e.g. Next APIs becoming async in Next 15).
But in any way, I think it will be a great resource for developers to level up :)