diff --git a/src/renderer/hooks/notifications/useNotificationsQuery.ts b/src/renderer/hooks/notifications/useNotificationsQuery.ts index 8810a1e0f..c1e6cd0a1 100644 --- a/src/renderer/hooks/notifications/useNotificationsQuery.ts +++ b/src/renderer/hooks/notifications/useNotificationsQuery.ts @@ -131,6 +131,9 @@ export const useNotificationsQuery = ({ poll }: { poll: boolean }): Notification placeholderData: keepPreviousData, + // Deep-walks every cached notification per write; dominates cost on large inboxes. + structuralSharing: false, + // Fresh for at least one poll cycle at the fastest possible interval, so // data isn't treated as stale before a refetch could realistically have // occurred. Uses the static floor rather than the live interval because