Reactivity is the seamless mapping between the application state and the DOM. We need a way to automatically know that the value has changed and therefore call the updateTotalPrice function automatically. Javascript Proxy allows us to intercept the basic operations like getting a value or setting a value of an object.
Table of contents
What do we mean by reactivity?Reactivity Hello World! What Problem We’re Trying to Solve?Introducing Javascript ProxyBack to Our Main ProblemWrapping It All UpNext StepsSort: