vivo Internet Technology
May 13, 2020 · Frontend Development
Micro‑Component State Management, Hook Mechanism, and Cross‑Sandbox Communication in a Front‑End Activity Platform
The article explains how the Wukong Activity Platform enables micro‑components to interact with the editor and property panel by registering lifecycle hooks through a pre‑render step, storing them in a unified Vuex module, and synchronizing state across sandboxed iframes via postMessage and a parent‑store mixin that restores Vue reactivity.
Cross-iframeMicro-ComponentsState Management
0 likes · 21 min read