SIGN IN SIGN UP
vuejs / vue UNCLAIMED

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

0 0 98 TypeScript

fix(reactivity): avoid using WeakMap for IE compatibility

Using a WeakMap polyfill isn't ideal because the reason we tried to use
WeakMap was to work with non-extensible objects. However, WeakMap
polyfill for non-extensible objects are non-weak and could lead to
memory leaks.

The trade-off is that we remove support for `readonly()` on
non-extensible objects, which seems reasonable.

close #12837
E
Evan You committed
29b5f588032600baae9854ac9a4105916a5aa648
Parent: d1899ca