mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
eb8e446d7b
Fixes an infinite update loop between handlePreviewIframeRef and NLELayout's onIframeRef effect — the callback identity change triggered the effect which re-called the callback, creating a render loop visible as "Maximum update depth exceeded" in dev mode and intermittent flickering in production. - Guard setPreviewIframe with identity check (skip if same iframe) - Use ref for onIframeRef in NLELayout effect to avoid re-firing on callback identity change Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>