{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/1dbd7a00ab224f79903ee7e2af945e1a\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/1dbd7a00ab224f79903ee7e2af945e1a-b85fa7614533873d.gif","duration":60.629,"title":"Event Listener Refreshes Discourse Context","description":"This Loom explains a fix for keeping the discourse context synchronized across components when items are added or deleted. The author replaces a prior approach with an event listener that dispatches an event and refreshes the discourse context in any window that contains the relevant UID. They demonstrate the behavior with an example UID test2234, showing the context updates after the item is added. They also open the related context to confirm only the relevant context updates, including when Dalation is deleted."}