Tag

javascript isolation

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2022 · Frontend Development

Understanding Qiankun Sandbox Mechanisms and JavaScript Isolation

This article explains the three sandbox types used by Qiankun—SnapshotSandbox, LegacySandbox, and ProxySandbox—detailing how they isolate global variables, the underlying code transformation that enables this isolation, common pitfalls with implicit global declarations, and a practical fix using MicroApp's plugin system.

Frontend DevelopmentSandboxjavascript isolation
0 likes · 8 min read
Understanding Qiankun Sandbox Mechanisms and JavaScript Isolation