Fun Learning React Server Components!
By David
For Project: ProjectGallery.Me
published: October 17, 2023
last updated: October 17, 2023

So, once again, I've done the classic developer move of turning my attention away from making ProjectGallery.me presentable and attempting to get users. Instead, I spent recent time converting this to react server components.

See the PR here

At first it was quite painful as it was buggy as hell. But the Next team stepped up and made things much more stable. And RSCs are an absolute dream to work with.

Just from this near straight conversion, almost 1k lines of boilerplate vaporized. This was due specifically to not only RSCs, but also react's server actions (which I originally thought was a NextJS-specific concept), and Next's layout system.

Looking forward to eventually putting some attention toward actually making it at least pretend it's usable😂

HomeGalleriesLogin