Video: Building a Promise from scratch!
This week I presented a talk “Building a Promise From Scratch” for the awesome TorontoJS user group. This was all done online, and you can watch the recording here or on YouTube.
This week I presented a talk “Building a Promise From Scratch” for the awesome TorontoJS user group. This was all done online, and you can watch the recording here or on YouTube.
In your build tools, you may have noticed that you have an ECMAScript 3 target, and 5 and up, but never a 4. Why is that? I thought it would be fun to dive into ECMAScript 4 a bit and see what we didn’t get. A brief history According to Wikipedia, the first draft of ECMAScript 4 was dated February…
I just realized this is the third time I’m writing async middleware invoker, I thought I would share the generic pattern for the benefit of others. I’m not sure if this is interesting enough for a NPM package, so I’ll leave it here for inspiration. The specific middleware pattern I am implementing,…
Between tasks I spend a fair time on Stack Overflow, which is (truth be told) a love/hate relationship. There’s a few recurring questions that I feel deserve a longer explanation. Last time, I wrote about how to use MySQL in Node.js, but today I wanted to write about the fetch no-cors setting. What…
Curveball is the freshest new microframework for Typescript. Since the last big announcement, there’s been a number new curveball users, and also a few framework changes. I thought it would be nice to list some of the things we’ve been working on this month. Starter template Probably the most signi…
Since mid-2018 we’ve been working on a new micro-framework, written in typescript. The framework competes with Express, and takes heavy inspiration from Koa. It’s called Curveball. If you only ever worked with Express, I feel that for most people this project will feel like a drastic step up. Expre…