RSC
👨💼 Now we have a framework built with React Server Components!
🧝♂️ You're welcome 😉
👨💼 Yes, thank you Kellie!
Now you just need to implement the
Counter
component using RSCs and server
actions!This will involve adding a
'use server'
directive
to so the action can be referenced in the
client. And then adding a 'use client'
directive
to so that code goes to the client
and can be used to show pending state while the action is being processed.From there, runs fully on the server so
you can do whatever you need to do server-side to make it work.
🦉 Take special note of your network code and where the boundaries are between
server and client.