From e3893c15856deabd766137695c2d1df1203386b5 Mon Sep 17 00:00:00 2001 From: Aurora Scharff <66901228+aurorascharff@users.noreply.github.com> Date: Tue, 3 Nov 2026 15:20:10 -0600 Subject: [PATCH] Revert "docs: Add useOptimistic hook description to hooks reference page (#8571)" This reverts commit 6be2e2a1c45bd0679b18f671d7df2cfbec255b7d. --- src/content/reference/react/hooks.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/reference/react/hooks.md b/src/content/reference/react/hooks.md index a8586f9f672..ab48b644b7f 100644 --- a/src/content/reference/react/hooks.md +++ b/src/content/reference/react/hooks.md @@ -18,7 +18,6 @@ To add state to a component, use one of these Hooks: * [`useState`](/reference/react/useState) declares a state variable that you can update directly. * [`useReducer`](/reference/react/useReducer) declares a state variable with the update logic inside a [reducer function.](/learn/extracting-state-logic-into-a-reducer) -* [`useOptimistic`](/reference/react/useOptimistic) lets you show a different state while an async action is pending. ```js function ImageGallery() {