Unverified Commit 90877a25 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

docs: add server actions to unsupported features of static exports (#67507)

Server actions require running code on-demand (as an API route) and
cannot be used without a server environment.
parent 6d92ff8e
......@@ -287,6 +287,7 @@ Features that require a Node.js server, or dynamic logic that cannot be computed
- [Incremental Static Regeneration](/docs/app/building-your-application/data-fetching/caching-and-revalidating)
- [Image Optimization](/docs/app/building-your-application/optimizing/images) with the default `loader`
- [Draft Mode](/docs/app/building-your-application/configuring/draft-mode)
- [Server Actions](/docs/app/building-your-application/data-fetching/server-actions-and-mutations)
Attempting to use any of these features with `next dev` will result in an error, similar to setting the [`dynamic`](/docs/app/api-reference/file-conventions/route-segment-config#dynamic) option to `error` in the root layout.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment