Syntax - Tasty Web Development Treats
Technology
In this Hasty Treat, Scott and Wes talk about whether decorators are finally here, what the uses cases are for decorators, how to define a decorator, and what auto accessor is.
Show Noteson classes
@loggged class C {}on fields
class C { @logged x = 1; }Auto Accessor
class C { accessor x = 1; }sugar for below
class C { #x = 1; // # means private get x() { return this.#x; } set x(val) { this.#x = val; } }Can be decorated and decorator can return new get and set and init functions
function logged(value, { kind, name }) { if (kind === "accessor") { let { get, set } = value; return { get() { console.log(`getting ${name}`); return get.call(this); }, set(val) { console.log(`setting ${name} to ${val}`); return set.call(this, val); }, init(initialValue) { console.log(`initializing ${name} with value ${initialValue}`); return initialValue; } }; } // ... } Tweet us your tasty treatsWTF Are Signals And Why Is Everyone So Hot On Them All Of The Sudden?
Supper Club × Dylan Jhaveri - Video for the Web and MUX
UI Elements - Basics, Best Practice, and Built Ins
Bluesky + AT Protocol
Supper Club × Zach Lloyd from Warp
The Syntax Giveaway Site - Codes, Bots, Tech Stack and More!
RPC in JavaScript!
Supper Club × Privacy, Cookie Banners, GDPR with Donata and Hans Skillrud
Potluck × Crypto × SEO × Status Pages × Learning Tools
CSS Color Functions
Supper Club × ESLint with Nicholas Zakas
Can Vanilla CSS Replace Sass Yet?
Modals, Popups, Popovers, Lightboxes
Supper Club × Nate Weinert and Tamagui
600th Episode! Major Announcement + SWAG Giveaway!
oAuth APIs Explained
Supper Club × Fabian Kägy - Modern WordPress - Blocks, Page builders, Headless, Custom Fields
Stump’d Gameshow! Answering Coding Interview Questions from AI
The New Import Map Standard
Supper Club × Web Components and Lit with Justin Fagnani of Google
Create your
podcast in
minutes
It is Free
Insight Story: Tech Trends Unpacked
Zero-Shot
Fast Forward by Tomorrow Unlocked: Tech past, tech future
The Unbelivable Truth - Series 1 - 26 including specials and pilot
Acquired