JavaScript: Proxy & Reflect

Code: github.com/alialaa/js-proxy-t...
Follow me on X: x.com/alialaa
Docs:
developer.mozilla.org/en-US/d...
developer.mozilla.org/en-US/d...
javascript.info/proxy
My Courses:
Modern Web Animations: www.udemy.com/course/web-anim...
The Complete GitHub Actions & Workflows Guide: www.udemy.com/course/github-a...
Svelte & SvelteKit: The Complete Guide: www.udemy.com/course/svelte-a...
Svelte & SvelteKit: The Complete Guide (Korean): www.udemy.com/course/svelte-a...
Gutenberg Blocks for WordPress and React Developers: www.udemy.com/course/gutenber...
00:00 Introduction
04:00 Defining the Proxy Object & Trap
09:30 Trap Invariants
12:50 The Reflect Object
20:55 Summary
22:23 set() Trap Example
28:00 deleteProperty() Trap Example
29:30 Proxying Functions with the apply() Trap
32:45 Observable Example
43:02 Svelte & Proxies
45:03 Revocable Proxies

Пікірлер