Tag: typescript

Introduction to Hegel

Introduction to Hegel

Dev

Learn how to implement and use Hegel, a new type checker library that combines a static, strong type system with great type inference, and how it compares to TypeScript and Flow.

Nathan Sebhastian
Jul 7, 2020 ⋅ 4 min read
Dynamic Type Validation In TypeScript

Dynamic type validation in TypeScript

Dev

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
Jul 7, 2020 ⋅ 9 min read

How to use static code analysis to write quality JavaScript/TypeScript

Dev

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

Michal Zalecki
Jun 19, 2020 ⋅ 8 min read
Type-safe Fetching With Gretchen

Type-safe fetching with gretchen

Dev

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
Jun 11, 2020 ⋅ 3 min read
How TypeScript Design Patterns Help You Write Better Code

How TypeScript design patterns help you write better code

Dev

This tutorial explains the importance of design patterns in a modern codebase; demonstrates how to implement the observer, builder, and prototype design patterns in TypeScript; and breaks down the concept behind each pattern.

Eslam Hefnawy
Jun 10, 2020 ⋅ 5 min read
nut.js Development Workflow

How to organize your nut.js development workflow

Dev

Building and shipping a ready-to-use desktop automation framework for three major platforms requires an elaborate development setup. In this tutorial, I’ll show you how I organize my work on nut.js.

Simon Hofmann
Jun 9, 2020 ⋅ 4 min read

Getting started with TypeScript generics

Dev

In this article, we’ll learn how to use generic types in our functions to create more reusable functions along with generic classes and generic interfaces.

Leonardo Maldonado
Jun 5, 2020 ⋅ 5 min read

How to build React components for codebases that use JavaScript and TypeScript

Dev

In this article, we’ll learn how we can use TypeScript with React and built components that are usable within both TypeScript and JavaScript files.

Austin Roy Omondi
May 28, 2020 ⋅ 5 min read

Discussing the over-engineering trap in TypeScript

Dev

In this article, we will go through the advantages and disadvantages of using TypeScript. This will give us a better idea of when to avoid over-engineering in TypeScript.

William Lim
Apr 21, 2020 ⋅ 6 min read
How to Set Up and Code Nuxt.js Apps Fully in TypeScript

How to set up and code Nuxt.js apps fully in TypeScript

Dev

Learn how to build a Nuxt.js application completely in TypeScript using both official and third-party libraries to help reduce bugs and facilitate collaboration among developers.

Preetish HS
Mar 17, 2020 ⋅ 8 min read
A blog post describing why TypeScript enums aren't valuable.

Why TypeScript enums suck

Dev

This post provides an overview of common mistakes people make when using TypeScript enums.

Aaron Powell
Mar 17, 2020 ⋅ 5 min read

Code splitting React components with TypeScript and NO Babel

Dev

In the React ecosystem, tools like loadable-componets add a much simpler veneer of sanity around dynamic imports.

Paul Cowan
Mar 12, 2020 ⋅ 5 min read