next.js
6602327c - Handle server function directives in class methods (#73060)

Commit
1 year ago
Handle server function directives in class methods (#73060) With this PR, we are allowing _static_ class methods to be annotated with `"use cache"` or `"use server"`. Class _instance_ methods on the other hand are not allowed as server functions.
Author
Parents
Loading