next.js
0a916775 - Allow `"use cache"` functions in server action module (client layer) (#71511)

Commit
1 year ago
Allow `"use cache"` functions in server action module (client layer) (#71511) When importing a server action module from a client component, we've already opted into the server layer, so defining inline `"use cache"` annotated functions should be allowed.
Author
Parents
Loading