

Implementing RSC, Part 2: Server Actions
Oct 4, 2023
Ryan shares details of his custom RSC implementation, discussing how Server Actions allow referencing server-side code. They explore bundling and invoking Server Actions and the security concerns associated with blurring server and client. Topics include implementing server actions, encoding and decoding arguments, and the benefits of server actions in React apps.
Chapters
Transcript
Episode notes
1 2 3 4 5 6 7 8
Introduction
00:00 • 2min
Switching from Server to Client Rendering
02:12 • 6min
Server Components and Function Properties
08:34 • 18min
Discussion on RSC payload, calling render or rerender, and passing arguments to an action
26:05 • 2min
Implementing Server Actions in a Simple Version
27:45 • 2min
Encoding and Decoding Arguments for Safe Transfer
29:19 • 7min
Implementing a Powerful Feature and Security Risks
36:08 • 12min
Server Actions and Their Benefits
48:37 • 8min