
TypeScript Mutually Exclusive Unions: From `?: never` to `ExclusifyUnion`
Mutually Exclusive Unions in TypeScript (and why ExclusifyUnion rocks) When modelling...

Author profile
I cook delicious TypeScript / JavaScript nuggets. π³
Browse the latest writing surfaced through DevArt.

Mutually Exclusive Unions in TypeScript (and why ExclusifyUnion rocks) When modelling...

π TypeScript is evolving fast, and your tsconfig should keep up. But upgrading TypeScript...

In the last article, I introduced the try-catch IIFE pattern. Some of you found it clever, while...

This article is loosely based off my recent video: Hey everyone, Jason here π Let's talk about...
![[Boost]](https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4ip8naarv35ksp8qvkv4.png)

YCMJason's Diary πβ¨ This web app is inspired by Tom Riddle's Diary. I've literally...

This post follows up on How to make functions partially applicable in JavaScript. Partial Function...

Background I have just arranged for my first ever concert that is going to happen in...

So... I have decided to define every array methods using recursion. (I haven't really tested all of t...

Hey guys, I have decided to make more coding videos on my youtube channel. This is my very first...

Why not reduce? https://dev.to/ycmjason/writing-cleaner-code-with-the-rule-of-least-power-rolp-4kkk...

The rule of least power suggests that: the less powerful the [computer] language, the more you...

Typescript gives developers confidence in their code changes. The types help developers understand co...

This article is roughly based off the talk I gave on 20th November 2019 at Vue.js London #13 meet...

Vue.js stands out from other frameworks for its intuitive reactivity. Vue 3 composition api is going...

Components get harder to maintain as they grow larger. Sometimes it is not obvious how to split a...

TL; DR I created a website, frogram, which aims to introduce program...

This year (2018) I have given 4 tech talks at different events. 05 July @ Vue...

I have always wanted to start a YouTube channel talking about coding stuff. Thi...

I gave a live-coding talk last week at the Manchester Web Meetup #4. I built a virtual DOM from...

Although Javascript is designed to be single threaded, you could still do things concurrently. For...

I recently discovered 3 really exciting SVG Techniques: Convert SVG to image with canvas HiDPI...

Me trying to explain what is `this`.

original post: https://www.ycmjason.com/blog/2018/06/14.html It's almost there! It's almost...

Original post: https://www.ycmjason.com/blog/2018/05/09.html I personally consider the following...

Not gonna explain so much, just sharing my recent attempt on implementing asyncToGenerator(). Please...

This article describes how we could write asyncStringReplace.

Creating a project with parcel from scratch.

How to implement fetch which includes a retry mechanism?
