The talk will start with a quick introduction to React Server Components and then move on to show how they're visualized in one of the developer tools we've built for RedwoodJS. This will give everyone a better understanding of where the client/server boundaries are and how ""use client"" and component imports work together to decide what code gets executed by the RSC server and what code gets executed in the user's browser. This understanding is generally applicable to any RSC enabled framework (which mostly means NextJS right now).
Now, with the audience equipped with a better understanding of RSCs I'll dive into the RSC Payload (aka Flight) format explaining what it is and how it works. For this part of the talk I will use a tool we've built to record and visualize the RSC network traffic to aid me in explaining the RSC protocol. I will also show how it helps developers identify bottlenecks by showing payload sizes and request durations.
After attending my talk, the audience will have a much deeper understanding of how RSCs work, all the way down to the RSC protocol level. They will also be excited and eager to explore our state-of-the-art RSC app developer tooling.
This talk has been presented at React Advanced 2024, check out the latest edition of this React Conference.
Comments