The store should notify the listener from subscribe. React then reads a fresh snapshot and updates the component if needed.
Question 10 of 20 in useSyncExternalStore Quiz