Server Actions
Run server code directly from forms and buttons with the 'use server' directive, with no API to write, then refresh the page and show pending states and errors.
Lesson 13 of 22
Run server code directly from forms and buttons with the 'use server' directive, with no API to write, then refresh the page and show pending states and errors.