mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-06-08 15:29:52 +00:00
The World/ComponentKey/worldInstance layer had a single production
consumer (widgetValueStore). Delete the abstraction and hold widget
state in two reactive Maps on the store directly. EntityId branded
types and the WidgetState shape are preserved; 30+ importers untouched.
- Drop src/world/{world,worldInstance,componentKey,widgets/widgetComponents}.ts
- Rewrite widgetValueStore to own reactive(Map) state directly
- Drop now-unused EntityId union and resetWorldInstance test calls
Amp-Thread-ID: https://ampcode.com/threads/T-019e852c-93d8-708b-9a1c-b648c0acf735
Co-authored-by: Amp <amp@ampcode.com>