From affb77d0019ebca723ec2009cf8c3a664a9736fd Mon Sep 17 00:00:00 2001 From: JingHuangSu1996 <72541534+JingHuangSu1996@users.noreply.github.com> Date: Thu, 26 Jan 2023 19:40:22 +0800 Subject: [PATCH] Fix typo on useSyncExternalStore page (#5503) --- beta/src/content/reference/react/useSyncExternalStore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/content/reference/react/useSyncExternalStore.md b/beta/src/content/reference/react/useSyncExternalStore.md index fc2932ed..38ab316c 100644 --- a/beta/src/content/reference/react/useSyncExternalStore.md +++ b/beta/src/content/reference/react/useSyncExternalStore.md @@ -149,7 +149,7 @@ function emitChange() { -When possible, we recommend to use the built-in React state with [`useState`](/reference/react/useState) and [`useReducer`](/reference/react/useReducer) instead. The `useExternalSyncStore` API is mostly useful if you need to integrate with existing non-React code. +When possible, we recommend to use the built-in React state with [`useState`](/reference/react/useState) and [`useReducer`](/reference/react/useReducer) instead. The `useSyncExternalStore` API is mostly useful if you need to integrate with existing non-React code.