Metaprogramming TypeScript with the Reflect API
The Reflect API is a mystery to a lot of JavaScript developers. Let's take a look at a few of its features and see how it can be useful for basic metaprogramming in TypeScript.
The Reflect API is a mystery to a lot of JavaScript developers. Let's take a look at a few of its features and see how it can be useful for basic metaprogramming in TypeScript.
@xstate/store is my new favourite lightweight state management tool. It integrates perfectly with all kinds of applications, backend or frontend, including those using React or SolidJS. Here's a bird's eye view of implementing minesweeper with @state/store, SolidJS, and ts-pattern.
When you add the 'user server' directive to your files, you're implicitly creating public, privileged endpoints to your exported functions.
SolidJS and XState are growing libraries with exceptionally happy users, including me. Here's a documentary of me finding more reasons to use them.
A brief look at the lives of young coho salmon within the pools of a drying creek in Cumberland, British Columbia.
Can't use cron, but can use go? No problem. Avoid the perils of writing really bad code like me and learn to use channels and signals properly. You can even test it!