getSnapshot reads the current store value. React uses that returned value during rendering.
Question 4 of 20 in useSyncExternalStore Quiz