From 2e6d30da0d6eca588b3b445b8f1603a1006e1fd6 Mon Sep 17 00:00:00 2001 From: Dom Zhu Date: Fri, 26 Apr 2024 07:47:14 +1000 Subject: [PATCH] Fix typos --- 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 53717119c3b..e3c7e2728d9 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. @@ -509,7 +509,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).