Changing the subscribe function identity can cause unnecessary unsubscribe and resubscribe work. Defining it outside the component is often simpler.
Question 13 of 20 in useSyncExternalStore Quiz