Non-visual synchronization such as analytics or ordinary subscriptions usually belongs in useEffect so painting is not blocked.