Course contentsShow
React
Lesson 1598 of 2,39639. Server Components in PracticePro lesson

Creating a Server Action: The 'use server' Directive

Add 'use server' at the top of an async function or file to designate server-only code that never ships to the client.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.