Skip to content

Bug/update use effect config#960

Merged
estohlmann merged 4 commits intodevelopfrom
bug/update-use-effect-config
Apr 22, 2026
Merged

Bug/update use effect config#960
estohlmann merged 4 commits intodevelopfrom
bug/update-use-effect-config

Conversation

@bedanley
Copy link
Copy Markdown
Contributor

Fixed infinite render loops in the React UI by memoizing the authentication user object and refining useEffect dependencies across multiple components. Previously, the auth user object was recreated on every render, causing components that depend on it to continuously re-render and dispatch Redux actions, leading to performance issues and repeated API calls.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bedanley bedanley changed the base branch from main to develop April 15, 2026 18:36
@bedanley bedanley marked this pull request as ready for review April 15, 2026 18:36
Comment thread lib/user-interface/react/src/shared/hooks/useAnnouncementNotifier.ts Outdated
gingerknight
gingerknight previously approved these changes Apr 16, 2026
Copy link
Copy Markdown
Contributor

@gingerknight gingerknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Good find!

@estohlmann estohlmann merged commit e74adeb into develop Apr 22, 2026
8 checks passed
@estohlmann estohlmann deleted the bug/update-use-effect-config branch April 22, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants