JavaScript Metaprogramming - ES6 Proxy Use and Abuse
Offered By: JSConf via YouTube
Course Description
Overview
Explore the powerful metaprogramming capabilities of ES6 Proxy in this JSConf Budapest 2017 talk by Eirik Vullum. Dive into the world of JavaScript metaprogramming, learning how to create custom syntax, define new operators, and leverage introspection, self-modification, and intercession techniques. Discover the core concepts of Proxies in JavaScript, including targets, handlers, and traps. Gain insights into practical applications such as instrumentation and creating observable objects. Compare naive and Proxy approaches to solving common problems. Uncover unconventional uses like redefining undefined and implementing "seatbelts" for JavaScript. Whether you're a seasoned developer or new to metaprogramming, this 26-minute presentation offers valuable knowledge on harnessing the full potential of ES6 Proxy in modern browsers and Node.js environments.
Syllabus
Intro
Make your own syntax
Make your own operators
Introspection
Self-modification
Intercession
Proxies in JavaScript
Target
Handler
Traps
Instrumentation
Observable objects
Naive Approach
Proxy Approach
Redefining Undefined
Seatbelts for JavaScript
Taught by
JSConf
Related Courses
Deno - Next Generation JavaScript RuntimeJSConf via YouTube How I Got 1600 Stars on GitHub in 2 Months of Open Source Work
JSConf via YouTube Is it Okay to Pursue Functional Programming on Frontend - JSConf Korea
JSConf via YouTube If - Extensible Design - Return "Work Life Balance"
JSConf via YouTube React x Web Components - How It Is and How It Could Be
JSConf via YouTube