You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,20 +29,24 @@ import DontEditWarning from '~/components/DontEditWarning.astro'
29
29
The following reference is a complete list of the errors you may encounter while using Astro. For additional assistance, including common pitfalls, please also see our [Troubleshooting Guide](/en/guides/troubleshooting/).
'This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult [unmaintained snapshots of older documentation](/en/upgrade-astro/#older-docs-unmaintained) for assistance.'
Copy file name to clipboardExpand all lines: src/content/docs/en/guides/actions.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import { Steps } from '@astrojs/starlight/components';
8
8
importSincefrom'~/components/Since.astro';
9
9
importReadMorefrom'~/components/ReadMore.astro';
10
10
11
-
<p><Sincev="4.14" /></p>
11
+
<p><Sincev="4.15" /></p>
12
12
13
13
Astro Actions allow you to define and call backend functions with type-safety. Actions perform data fetching, JSON parsing, and input validation for you. This can greatly reduce the amount of boilerplate needed compared to using an [API endpoint](/en/guides/endpoints/).
@@ -712,7 +712,7 @@ Interval between embedded replicas synchronizations in seconds. By default it on
712
712
713
713
This property is only used when `syncUrl` is also set. For example, to set an in-memory embedded replica to synchronize every minute set the following environment variable:
Copy file name to clipboardExpand all lines: src/content/docs/en/guides/view-transitions.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -646,7 +646,7 @@ At this point of the lifecycle, you could choose to define your own swap impleme
646
646
647
647
<p><Sincev="4.15.0" /></p>
648
648
649
-
The `swapFunction` object of the `astro:transitions/client` module provides five utility functions that handle specific swap-related tasks, including handling document attributes, page elements, and script execution. These functions can be used directly to define a custom swap implementation.
649
+
The `swapFunctions` object of the `astro:transitions/client` module provides five utility functions that handle specific swap-related tasks, including handling document attributes, page elements, and script execution. These functions can be used directly to define a custom swap implementation.
650
650
651
651
The following example demonstrates how to use these functions to recreate Astro's built-in swap implementation:
Actions are backend functions used for type-safe server-to-client communication. All utilities to define and call actions are exposed by the `astro:actions` module. For examples and usage instructions, [see the Actions guide](/en/guides/actions/).
2146
+
Actions help you build a type-safe backend you can call from client code and HTML forms. All utilities to define and call actions are exposed by the `astro:actions` module. For examples and usage instructions, [see the Actions guide](/en/guides/actions/).
0 commit comments