Comments (5)
@LinusBorg we will fallback to actually defining everything on the instance, but only when we detect the runtime doesn't support native Proxies. That logic will live in runtime-core
and be included/excluded via a build time flag.
from core.
As a sidenote, I realized that we also use WeakMaps in a couple of places outside of the observer
package.
Since WeakMap can't be properly polyfilled(?), should we choose a different implementation or am I missing something`
from core.
core-js
has a built-in WeakMap
polyfill: https://github.com/zloirock/core-js/blob/master/packages/core-js/modules/es.weak-map.js
from core.
I see. I'm a little suprised (positively!) that this behaviour can in fact be polyfilled, good to know.
So we would require some polyfills for the compatibility build, for Set, Map, WeakMap etc. Seems fair in order to drag ppl into the future :-P.
from core.
Great.
from core.
Related Issues (20)
- defineModel not support calling methods expression HOT 3
- Reactive element changing the initial assigned constant value. HOT 1
- KeepAlive with Transition, children use slot function error
- component object slots is readonly reactive, in render function cause error HOT 2
- `v3.4.22` breaks PrimeVue Input component HOT 8
- Bug ? when watching a model from defineModel HOT 3
- v3.4.22 issue with class bindings with PrimeVue + Vee-validate HOT 1
- 3.4.22 regression with UIEvent type HOT 2
- watch can't trigger callback function HOT 3
- defineExpose 无法正确 expose 实例方法 HOT 12
- Readonly warning on slot (children._ctx)
- v-html 在 SSR 与 CSR 时的表现不一致
- Vue not able to extract prop from `ReadonlyArray` and `readonly` HOT 2
- Slots render issure HOT 2
- Two-way binding can directly modify without emit 'update:model-value' event when using object to create ref() or reactive() HOT 4
- Multiple Dom nodes in template use emits will warn Extraneous non-emits event listeners (eventName) were passed to component but could not be automatically inherited HOT 1
- Props are mutable in the template HOT 2
- v-html error for commented(inactive) children elements HOT 2
- SSR hydration mismatch when conditional slot wrapped in transition HOT 3
- VueUse computedAsync helper HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.