A code editor that runs the function component it holds

Open Preview and press the counter, then change its text in Source: Preview runs the edited component, and only that one.