typescript

New in TypeScript 3.7

I have waited a long time for these changes, and I think the TypeScript official announcement does its usual job of underselling the great...
Paul Cowan
3 min read

Building reusable web components with Stencil.js

Stencil is well developed, well documented, battle-tested, backed by a big company, aligned with standards, and is very easy to learn.
Vlado Tesanovic
11 min read

3 rules for writing idiomatic TypeScript

Stop writing TypeScript like you're writing JavaScript.
Ovie Okeh
8 min read

How to set up a TypeScript + Gatsby app

In this article, we’ll take one of the starter Gatsby projects and turn it into a TypeScript app.
Yomi Eluwande
9 min read

To mutate, or immutate, that is the question

This is the second post in the not all compilers are created equal series, in which we compare TypeScript (TS) and PureScript (PS), two...
Hernan Rajchert
10 min read

Build a GraphQL + React app with TypeScript

Watch your code blast off as we create a fully functioning React app from scratch using the SpaceX GraphQL API.
Trey Huffine
11 min read

const assertions are the killer new TypeScript feature

Typescript 3.4 is out and while I find the official TypeScript docs very informative, they always feel a little bit too academic and a...
Paul Cowan
5 min read

What’s new in Create React App 3

Released at the end of April 2019, Create React App (CRA) 3 adds linting rules to hooks and TypeScript projects, along with other improvements...
Esteban Herrera
4 min read

Interfaces in TypeScript: What are they and how do…

JavaScript gives developers a great deal of flexibility. A variable initialized as an integer can be assigned a function literal at run-time. Types of...
Ankita Masand
12 min read

Why you should use CSS env()

Having difficulty keeping shared CSS and JavaScript values updated and in sync? Are you faced with seemingly random bugs when updating shared values? In...
Harry Nicholls
7 min read

Writing readable code with TypeScript enums

TL;DR: In this article, we will look into enums, what they are and how they are used in TypeScript. We will also use sample...
Nwose Lotanna
6 min read

TypeScript vs PureScript

Not all compilers are created equal There are many ways to skin a cat, and for each one there is a statically typed language that...
Hernan Rajchert
14 min read