It is important to understand how the reactivity system works to avoid some common mistakes.
- By using the Proxy feature, which is defined in ECMAScript 2015 (6th Edition, ECMA-262)
- By using Object.defineProperty, which is defined in ECMAScript 2011 (5.1 Edition, ECMA-262)
For compatibility reasons, Vue decided to use Object.defineProperty, which means that there are some limitations.
When you create a component, Vue will...