John Reilly MacGyver turned Dev 🌻❤️ TypeScript / ts-loader / fork-ts-checker-webpack-plugin / DefinitelyTyped: The Movie


13 Stories by John Reilly

Open Graph: How to create sharable social media previews

Learn about sharable previews, how to implement and test them, and how to overcome challenges associated with lack of standardization.
0 4 min read

TypeScript vs. JSDoc JavaScript for static type checking

If you're starting a project and want to make use of static typing, how do you choose between TypeScript or JavaScript with JSDoc?
0 3 min read

React, structured data, and SEO

If you have a website, making it discoverable is paramount. In this guide, we'll show you how to add structured data to your site.
0 4 min read

How to authenticate and access Google APIs using OAuth 2.0

Learn how to authenticate with Google using TypeScript. As a practical example, we'll show you how to acquire and use a refresh token to...
0 5 min read

Write more readable code with TypeScript 4.4

Control flow analysis of aliased conditions, an exciting new feature shipped with TypeScript 4.4, enables you to write more expressive, readable code.
1 2 min read

TypeScript, abstract classes, and constructors

Abstract classes in TypeScript cannot be instantiated directly; only nonabstract subclasses can be. What does this mean for constructor usage?
1 2 min read

webpack or esbuild: Why not both?

If you want to have faster builds but don't have the time to go through a big migration, esbuild-loader enables you to use esbuild...
1 4 min read

How to use TypeScript with React 18 alpha

React 18 alpha has just been released, which is an exciting development. But to get it working with TypeScript, you need to make a...
0 2 min read

Build a progressive web app (PWA) with React

Progressive web apps are a (terribly named) wonderful idea. Our tutorial takes you from CRA to PWA in a snap.
5 8 min read

Generate TypeScript and C# clients with NSwag based on an API

Learn how you can generate TypeScript and C# API clients with NSwag to reduce your workload when when you're building a project.
0 6 min read

Throttling data requests with React Hooks

In this tutorial, we'll build a React Hook that enables us to gradually load data without blocking the UI of the browser.
0 9 min read

Offline storage for PWAs

IDB-Keyval is a promise-based API that enables you to persist preferences beyond page refresh in a fashion that will work both online and offline.
1 6 min read