From 8cbed3e23fda46b6261792b891fb86d79f2b5949 Mon Sep 17 00:00:00 2001 From: Dominic Zhu <44078427+dom-zhu@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:54:28 +1000 Subject: [PATCH] Fix typos (#6788) Co-authored-by: Dom Zhu --- src/content/blog/2024/04/25/react-19.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/blog/2024/04/25/react-19.md b/src/content/blog/2024/04/25/react-19.md index f0e18d0f0..dbcc9f143 100644 --- a/src/content/blog/2024/04/25/react-19.md +++ b/src/content/blog/2024/04/25/react-19.md @@ -110,7 +110,7 @@ Actions automatically manage submitting data for you: - **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. - **Optimistic updates**: Actions support the new [`useOptimistic`](#new-feature-optimistic-updates) hook so you can show users instant feedback while the requests are submitting. -- **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. +- **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. - **Forms**: `
` 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. @@ -511,7 +511,7 @@ function Search({deferredValue}) { } ```` -When initialValue 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 deferredValue returned. +When initialValue 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 deferredValue returned. For more, see [`useDeferredValue`](/reference/react/useDeferredValue).