Fix typo on useSyncExternalStore page (#5503)

This commit is contained in:
JingHuangSu1996
2023-01-26 19:40:22 +08:00
committed by GitHub
parent e8917a06de
commit affb77d001

View File

@@ -149,7 +149,7 @@ function emitChange() {
<Note>
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.
</Note>