Skip to content

Commit c5423b4

Browse files
Update use-server.mdx Single-flight "actions" s/b "mutations" (#1188)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 2a2d8b2 commit c5423b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/solid-start/reference/server/use-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const updateUser = action(async (id, data) => {
6363

6464
When `getUser` or `updateUser` are invoked on the client, an http request will be made to the server, which calls the corresponding server function.
6565

66-
## Single-flight actions
66+
## Single-flight mutations
6767

6868
In the above example, when the `updateUser` action is called, a redirect is thrown on the server.
6969
Solid Start can handle this redirect on the server instead of propagating it to the client.

0 commit comments

Comments
 (0)