Proxy & Reflect Playground

Bayu stands before the cabinet as a Proxy: every read, write, delete or JSON.stringify passes his rule book (the handler) and every trap the engine calls is…

Why it matters

Proxy is the engine behind Vue 3 and MobX reactivity, defaults, write validation and test mocks. Understanding it means understanding how a framework "knows" your data changed, and why a write that does not go through the proxy slips past it.

The key idea

A proxy keeps nothing: it intercepts, then passes on

Common mistakes

Try it in this playground