Sub Access70

Check out the latest posts
Aphinya Dechalert

Understanding JavaScript Composite Patterns

A composite pattern deals with the complexity of how objects are related to one another. According to the original definition, [a composite pattern] allows you to compose objects into tree structures to represent part-whole hierarchies Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) But what does this...

Aphinya Dechalert

Understanding JavaScript Decorator Patterns

The decorator pattern works by extending an object’s behavior without changing the original object itself. What exactly does this mean? Imagine that you’ve just bought yourself a new phone. However, carrying the phone around in its current form feels risky. What if you drop it? What if it...

Aphinya Dechalert

How Object.defineProperty() Works

At some point, you might have encountered Object.defineProperty() in someone’s code. It might be through an Angular, React, or Vue project. However, Object.defineProperty() isn’t actually specific to any of the listed framework/library. It’s actually part of vanilla JavaScript. Vanilla JavaScript is the foundation of...

Aphinya Dechalert

Next.js + Stripe Checkout Integration How To

Stripe integration isn’t exactly an everyday task kind of integration. It’s one of those things where when it works, it works and you just leave it until something needs to be done to it. Every now and then I do a Stripe checkout integration. Every time, I find...

You’ve successfully subscribed to matcha.fyi
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.