useState and useReducer are better for ordinary local state. useSyncExternalStore is for external stores that React does not own.
Question 16 of 20 in useSyncExternalStore Quiz