YCM Jason

YCM Jason @ycmjason

About: I cook delicious TypeScript / JavaScript nuggets. 🍳

Location:
London, UK
Joined:
Sep 30, 2017

YCM Jason
articles - 37 total

Introducing @ts-migrating: The Best Way To Upgrade Your TSConfig

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

Learn More 42 9Jun 23

7 Modern Use Cases of IIFE

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

Learn More 15 8May 23

TRY {} CATCH {} ‒ FIXED! (with a surprisingly old trick)

This article is loosely based off my recent video: Hey everyone, Jason here 👋 Let's talk about...

Learn More 7 6May 10

[Boost]

I Recreated Tom Riddle’s Diary, But Used My Soul Instead 👻 ...

Learn More 1 0Feb 7

I Recreated Tom Riddle’s Diary, But Used My Soul Instead 👻

YCMJason's Diary 📖✨ This web app is inspired by Tom Riddle's Diary. I've literally...

Learn More 0 1Feb 6

Advanced Typescript: Typing Partially Applicable Functions

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

Learn More 12 2Jun 2 '23

Detecting barcode from the browser!!!

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

Learn More 77 4Nov 6 '21

I (roughly) defined (almost) every array method using recursion 😂

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

Learn More 35 1Apr 30 '21

Code Vlog: Building a Linktree Clone Static Site Generator

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

Learn More 4 0Apr 22 '21

how not to use reduce

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

Learn More 13 10Jun 30 '20

Writing cleaner code with the rule of least power #ROLP

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

Learn More 76 5Apr 8 '20

How to `filter` without `is` in Typescript? the `flatMap` as `filter` technique

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

Learn More 13 1Feb 25 '20

Recreating Vue 3 Reactivity API (roughly)

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

Learn More 85 0Feb 19 '20

Thought on Vue 3 Composition API - `reactive()` considered harmful

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

Learn More 166 29Oct 19 '19

Vue without View - An Introduction to Renderless Components

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

Learn More 119 5Jun 22 '19

Frogram - this might be the best way to introduce programming to laymen

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

Learn More 32 1Feb 19 '19

5 Tips for Live-Coding Talks

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

Learn More 13 0Dec 17 '18

Live-coding Wednesdays - codewithjason

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

Learn More 7 4Dec 17 '18

Building a Simple Virtual DOM from Scratch

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

Learn More 355 62Dec 5 '18

Limit concurrent asynchronous calls

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

Learn More 15 16Sep 11 '18

Do you know about these SVG techniques?

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

Learn More 57 4Jul 2 '18

Let me explain to you what is `this`. (Javascript)

Me trying to explain what is `this`.

Learn More 111 29Jun 15 '18

Looks like Vue.js will likely out-star React over the weekend!

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

Learn More 73 5Jun 14 '18

My point of "vue" in React vs. Vue

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

Learn More 98 6May 9 '18

My attempt on asyncToGenerator()

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

Learn More 7 2May 3 '18

String.prototype.replace asynchronously?

This article describes how we could write asyncStringReplace.

Learn More 14 6Apr 28 '18

Exploring parcel with Vue.js, the webpack alternative

Creating a project with parcel from scratch.

Learn More 16 0Apr 16 '18

Javascript fetch, retry upon failure.

How to implement fetch which includes a retry mechanism?

Learn More 167 15Mar 27 '18

How do you compare dev.to and medium?

discuss

Learn More 20 6Mar 13 '18

How to make functions partially applicable in JavaScript

Enable partial function application in JavaScript

Learn More 20 8Mar 7 '18