typescript

A simple guide for migrating from JavaScript to TypeScript

Learn how to quickly and easily migrate a React component from JavaScript to TypeScript with this simple guide.
Stephen Hartfield
9 min read

Strategies for mitigating prop drilling with React and TypeScript

Prop drilling is one of the most common gripes with React. You add a prop or event in a component way down the hierarchy...
Dan Vanderkam
12 min read

MiniQL: Building a query language in TypeScript

Is it ever OK to reinvent the wheel? We consider MiniQL, a tiny, GraphQL-inspired query language, in pursuit of the answer.
Ashley Davis
13 min read

Create scalable JavaScript and TypeScript file structures with Destiny

Destiny is an open-source project that scans folders for file dependencies and places the files in a fractal structure, where they are "destined" to...
Michiel Mulders
4 min read

What’s new in TypeScript 4.0

Without a doubt, these features will improve both the developer experience and the efficiency of using TypeScript.
Lawrence Oputa
4 min read

Using TypeScript with Node.js and Express

Learn how to set up TypeScript in an Express.js app.
Aman Mittal
5 min read

Roll your own dependency injection

Have you tried using dependency injection (DI) frameworks only to be bowled over by their complexity and the difficulty of trying to bend them...
Ashley Davis
13 min read

Introduction to Hegel

Learn how to implement and use Hegel, a new type checker library that combines a static, strong type system with great type inference, and...
Nathan Sebhastian
4 min read

Dynamic type validation in TypeScript

Most people think that by using TypeScript as their application language, they are "covered" from any emptiness error, but this assumption is wrong.
Emanuel Suriano
9 min read

How to use static code analysis to write quality…

Static code analysis is a process of inspecting the source code to get some insights without actually running it. Learn more here.
Michal Zalecki
8 min read

Type-safe fetching with gretchen

Gretchen allows type-safe fetching by providing a very subtle abstraction over the popular fetch() syntax that you already know and love.
Olasunkanmi John Ajiboye
3 min read

How TypeScript design patterns help you write better code

This tutorial explains the importance of design patterns in a modern codebase; demonstrates how to implement the observer, builder, and prototype design patterns in...
Eslam Hefnawy
5 min read