Prevent infinite re-render loop in MeetingDialog caused by default prop array references

Fixkamo-internal
Shipped
March 29, 2026 at 12:53 AM UTC
Author
kamo
Commit
daca6db

The useEffect had preSelectedMembers (defaulting to []) as a dependency, creating a new array on every render and triggering an infinite setState loop. Fixed by using a ref to track open state transitions, removing unstable deps, and moving the refresh button outside the TextField slotProps to avoid re-render triggers.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing