From 9f7023003e035aa4b541f604ab4c95b6e146318b Mon Sep 17 00:00:00 2001
From: amirhhashemi <87268103+amirhhashemi@users.noreply.github.com>
Date: Wed, 29 Jan 2025 18:40:11 +0330
Subject: [PATCH] Add a tip about "use server" to action docs
---
src/routes/solid-router/concepts/actions.mdx | 6 ++++++
src/routes/solid-router/reference/data-apis/action.mdx | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/src/routes/solid-router/concepts/actions.mdx b/src/routes/solid-router/concepts/actions.mdx
index 4f8c10d5a0..7b9f70013b 100644
--- a/src/routes/solid-router/concepts/actions.mdx
+++ b/src/routes/solid-router/concepts/actions.mdx
@@ -43,6 +43,12 @@ In this example, the `echo` action simulates a fetch call with a 1 second delay
The `echo` action will act as a backend, however, it can be substituted for any API provided it can be run on the client.
Typically, route actions are used with some sort of solution like fetch or GraphQL.
+