Server Actions are now in React Canary, ready for frameworks and libraries to adopt! Server Actions are functions created alongside your components that run on the server for tasks like data mutations
Server Actions are ready for adoption by libraries and frameworks that support Server Components via pinned Canary React releases. Getting your feedback on Server Actions via Canary releases is a crucial step towards a stable release. react.dev/community/vers…
Client Actions are now also in React Canary. Client Actions enable async, non-blocking UI updates that integrate with Suspense and error boundaries. Client Actions work even if you aren’t using a framework that supports Server Components. codesandbox.io/s/react-client…
We’ve added a canary changelog to track feature additions to the canary release channel github.com/facebook/react…
Complete reference documentation will be published in the coming weeks. You can see some early documentation here: react.dev/reference/reac…
@reactjs Do client actions receive any additional args? Like the form element? Seems like this form should be reset on submit
@reactjs So are client actions just abstracting the event handler + calling useTransition?
@reactjs Its that what we have been doing so far? It’s attached to a form action makes it client action? Too many terms to remember? By the way, server actions are awesome!!