Skip to content

Instantly share code, notes, and snippets.

@12cassie34
Created June 13, 2022 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 12cassie34/665207d6efeb35a67c84e99eee4fe129 to your computer and use it in GitHub Desktop.
Save 12cassie34/665207d6efeb35a67c84e99eee4fe129 to your computer and use it in GitHub Desktop.
Vue Reactivity
const target = {
message1: "hello",
message2: "everyone"
};
const handler = {
get(target, prop, receiver) {
return "world";
}
};
const myProxy = new Proxy(target, handler);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment