Skip to content

Commit 8cbed3e

Browse files
dom-zhuDom Zhu
and
Dom Zhu
authored
Fix typos (#6788)
Co-authored-by: Dom Zhu <[email protected]>
1 parent 64beb65 commit 8cbed3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/blog/2024/04/25/react-19.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Actions automatically manage submitting data for you:
110110

111111
- **Pending state**: Actions provide a pending state that starts at the beginning of a request and automatically resets when the final state update is committed.
112112
- **Optimistic updates**: Actions support the new [`useOptimistic`](#new-feature-optimistic-updates) hook so you can show users instant feedback while the requests are submitting.
113-
- **Error handling**: Actions provide error handling so you can and display Error Boundaries when a request fails, and revert optimistic updates to their original value automatically.
113+
- **Error handling**: Actions provide error handling so you can display Error Boundaries when a request fails, and revert optimistic updates to their original value automatically.
114114
- **Forms**: `<form>` elements now support passing functions to the `action` and `formAction` props. Passing functions to the `action` props use Actions by default and reset the form automatically after submission.
115115

116116
</Note>
@@ -511,7 +511,7 @@ function Search({deferredValue}) {
511511
}
512512
````
513513

514-
When <CodeStep step={2}>initialValue</CodeStep> is provided, `useDeferredValue` will return it as `value` for the initial render of the component, and scheduled a re-render in the background with the <CodeStep step={1}>deferredValue</CodeStep> returned.
514+
When <CodeStep step={2}>initialValue</CodeStep> is provided, `useDeferredValue` will return it as `value` for the initial render of the component, and schedules a re-render in the background with the <CodeStep step={1}>deferredValue</CodeStep> returned.
515515

516516
For more, see [`useDeferredValue`](/reference/react/useDeferredValue).
517517

0 commit comments

Comments
 (0)