Skip to content

Commit 9334314

Browse files
committed
docs: align Async React Hooks section formatting with hooks page
1 parent f135fe8 commit 9334314

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/content/reference/react/hooks.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,17 +112,11 @@ To prioritize rendering, use one of these Hooks:
112112
113113
Async React lets you build responsive apps by running asynchronous work inside Actions. These hooks help manage UI updates during asynchronous operations and allow React to keep the interface responsive while work is being processed.
114114
115-
### useTransition {/*usetransition*/}
115+
To manage asynchronous updates, use one of these Hooks:
116116
117-
Lets you mark state updates as non-blocking so the UI stays responsive while they run.
118-
119-
### useActionState {/*useactionstate*/}
120-
121-
Lets you update state from an Action, commonly used for form submissions or async reducers.
122-
123-
### useOptimistic {/*useoptimistic*/}
124-
125-
Lets you show a temporary UI state while an Action is running.
117+
- [`useTransition`](/reference/react/useTransition) lets you mark state updates as non-blocking so the UI stays responsive while they run.
118+
- [`useActionState`](/reference/react/useActionState) lets you update state from an Action, commonly used for form submissions or async reducers.
119+
- [`useOptimistic`](/reference/react/useOptimistic) lets you show a temporary UI state while an Action is running.
126120
127121
---
128122

0 commit comments

Comments
 (0)