facebookarchive/prepack

realm.$TemplateMap is persistent throughout effects

Open

#2,129 创建于 2018年6月18日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (14,268 star) (520 fork)batch import
abstractbughelp wantedinterpreterlevel 2 (easy)

描述

Using ES2015 tagged template literals makes use of a $TemplateMap on the realm. When we evaluateForEffects and create a tagged template inside some effects, then revert the effects, it's expected that the newly created array objects in the template map are also stored on effects and properly reverted.

贡献者指南