Self Contained Modals

Build modals/dialogs self-contained: form and in-flight state lives inside, closing unmounts it. Use when writing or reviewing a modal/dialog, especially one that owns async work (OAuth popups, timers, subscriptions, AbortControllers). Catches the stuck-on-Connecting class of lifecycle-leak bugs.

rhyssullivan Updated 4.5k repo stars
Executor demo

File contents

rhyssullivan/executor commit 6ff6608056

Frequently asked questions

npx get-skill add rhyssullivan/self-contained-modals