Open in app

Sign in

Write

Sign in

Nathaniel Kessler
Nathaniel Kessler

170 Followers

Home

Lists

About

Published in

JavaScript in Plain English

·Aug 7, 2020

TypeScript 4.0 finally delivers what I’ve been waiting for

A list of generic params with good labels! — Yesterday, Microsoft announced the release candidate of TypeScript 4.0. And with that comes Labeled Tuple Elements, which is the answer to the title of this post. Generic interface with unknown arguments Here’s a contrived example. IQuery. It’s meant to describe the shape of functions that query things. It always returns a promise and takes a…

Typescript

3 min read

TypeScript 4.0 finally delivers what I’ve been waiting for
TypeScript 4.0 finally delivers what I’ve been waiting for
Typescript

3 min read


Published in

JavaScript in Plain English

·Jun 9, 2020

Skeleton Loading State as a System

This is a walkthrough on how to implement a skeleton loading infrastructure into a front-end application. The approach builds skeleton states as a system so your front-end can scale while maintaining consistency for loading states. I’ll use React, React Context and Hooks for this example. Basic Idea Implement a “skeleton state” for…

React

7 min read

Skeleton Loading State as a System
Skeleton Loading State as a System
React

7 min read


Published in

Rangle.io

·Apr 30, 2020

RxJS, where is the If-Else Operator?

if/else statements are a staple for handling conditional logic. It’s natural for most developers to reach for the if/else statement when a decision needs to be made in code. However, in the reactive programming paradigm (e.g. with RxJS) this conditional statement is mysteriously unavailable. How can you code without it? …

JavaScript

4 min read

RxJS, where is the If-Else Operator?
RxJS, where is the If-Else Operator?
JavaScript

4 min read


Published in

Rangle.io

·Apr 29, 2020

Mixin Design Tokens

Design tokens manage and store User Interface (UI) decisions such as spacing, color, typography, and motion. These decisions are stored in a config-like format to support the needs of any platform (Web, mobile OS, etc). In this blog post, I’ll demonstrate how you can leverage design tokens and SCSS mixins…

CSS

5 min read

Mixin Design Tokens
Mixin Design Tokens
CSS

5 min read

Nathaniel Kessler

Nathaniel Kessler

170 Followers

Coding and front-end | nathanielkessler.com

Following
  • Katrine Tjoelsen

    Katrine Tjoelsen

  • Nadia Makarevich

    Nadia Makarevich

  • S7rthak

    S7rthak

  • Aphinya Dechalert

    Aphinya Dechalert

  • Jenushika Jeyakumaran | Product Queen

    Jenushika Jeyakumaran | Product Queen

See all (41)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams