Skip to content

Commit 1a0b7ca

Browse files
authored
Merge branch 'main' into sync-4f9e9a56
2 parents 3c9e780 + 6020e27 commit 1a0b7ca

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/content/reference/react-dom/components/input.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ To display an input, render the [built-in browser `<input>`](https://developer.m
3535
<Canary>
3636

3737
React's extensions to the `formAction` prop are currently only available in React's Canary and experimental channels. In stable releases of React `formAction` works only as a [built-in browser HTML component](https://react.dev/reference/react-dom/components#all-html-components). Learn more about [React's release channels here](/community/versioning-policy#all-release-channels).
38+
3839
</Canary>
3940

4041
[`formAction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#formaction): A string or function. Overrides the parent `<form action>` for `type="submit"` and `type="image"`. When a URL is passed to `action` the form will behave like a standard HTML form. When a function is passed to `formAction` the function will handle the form submission. See [`<form action>`](/reference/react-dom/components/form#props).

src/content/reference/react/use-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ function UsernameForm() {
171171

172172
Note that like most Hooks, `useFormState` can only be called in <CodeStep step={1}>[client code](/reference/react/use-client)</CodeStep>.
173173

174+
174175
### Calling a Server Action outside of `<form>` {/*calling-a-server-action-outside-of-form*/}
175176

176177
Server Actions are exposed server endpoints and can be called anywhere in client code.

src/sidebarReference.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
},
8383
{
8484
"title": "useTransition",
85-
"path": "/reference/react/useTransition"
85+
"path": "/reference/react/useTransition",
86+
"canary": true
8687
}
8788
]
8889
},

0 commit comments

Comments
 (0)