Slide 23
Slide 23 text
Proxy allows us to customize fundamental features
• We can override fundamental features with Proxy
• e.g. setters / getters / constructors / function calls
• Target, handler, traps
• Implicit inheritance: create anonymous sub-class of target's class
• We can separate remote object updating code from models with proxies
• Be careful when you use proxies as React components' props or states