The Hook needs subscribe to listen for changes and getSnapshot to read the current value from the external store.
Question 2 of 20 in useSyncExternalStore Quiz