React calls getSnapshot while rendering and when checking whether the external store value has changed.
Question 9 of 20 in useSyncExternalStore Quiz