next.js
6602327c
- Handle server function directives in class methods (#73060)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#73060 - Handle server function directives in class methods
Author
unstubbable
Parents
adfdd09d
Loading