Browse Source

Fix typo on useSyncExternalStore page (#5503)

main
JingHuangSu1996 2 years ago
committed by GitHub
parent
commit
affb77d001
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      beta/src/content/reference/react/useSyncExternalStore.md

2
beta/src/content/reference/react/useSyncExternalStore.md

@ -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>

Loading…
Cancel
Save