Skip to content

Commit 0d62686

Browse files
Merge branch 'main' into fix-use-submission-situation
2 parents 3285216 + bca8d22 commit 0d62686

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/solid-router/concepts/actions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The `echo` action will act as a backend, however, it can be substituted for any
4444
Typically, route actions are used with some sort of solution like fetch or GraphQL.
4545

4646
:::tip
47-
In [SolidStart](/solid-start) apps, it's recommended to use the [`"use server"`](/solid-start/reference/server/use-server) directive to leverage server-side caching.
47+
In [SolidStart](/solid-start) apps, it's recommended to use the [`"use server"`](/solid-start/reference/server/use-server) directive to leverage server-side functionality.
4848
:::
4949

5050
### Using actions

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)