{"version":"2.1.227","anchor":"dialogs-now-update-when-the-dialog-stack-changes","canonical_anchor":"dialogs-now-update-when-the-dialog-stack-changes","heading":"Dialogs now update when the dialog stack changes","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227\/e\/dialogs-now-update-when-the-dialog-stack-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.227","markdown":"### Dialogs now update when the dialog stack changes\n\nDialogs now refresh when another opens or closes instead of showing stale state.\n\n**What**\n\nThe internal hooks that report which dialog is on top now subscribe to changes instead of reading the value once during render, so components refresh when a dialog opens or closes rather than showing a stale state.\n\n**Evidence**\n\n`useSyncExternalStore`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}