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
Copy file name to clipboardExpand all lines: src/content/reference/react/hooks.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,17 +112,11 @@ To prioritize rendering, use one of these Hooks:
112
112
113
113
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.
114
114
115
-
### useTransition {/*usetransition*/}
115
+
To manage asynchronous updates, use one of these Hooks:
116
116
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.
0 commit comments