46 articles since 2015

Recently published.

Older posts

10 posts · sorted newest

Intro to Functional Programming

Functional programming built around immutable data, pure functions, and first-class functions. Adapted from a Boise Code Camp talk.

Functional ProgrammingJavascript
Mar 31, 2019
7 min read

Introducing React-Scroll-To v2

Release notes and usage guide for react-scroll-to v2, a React component for scrolling to a point, a ref, or smoothly animating between them.

ReactJavascript
Nov 3, 2018
5 min read

React: Controlling Rendering with Keys

The React key prop does more than silence warnings. Use it to force components to re-mount on demand, with a concrete example of why that helps.

ReactJavascript
Oct 18, 2018
2 min read

Tips on Improving FabricJS Speed

Techniques that sped up FabricJS rendering of ~10k objects on a Canvas: disabling renderOnAddRemove, using enlivenObjects, and batching object loading.

JavascriptFabricJS
Oct 11, 2018
3 min read

React: Not Everything is State

Not every value in a React component belongs in state. Using class properties for IDs, timers, and non-rendering data keeps components simpler and faster.

ReactJavascript
Oct 5, 2018
1 min read

Write Software that Evolves

How to avoid analysis paralysis and ship software that grows with changing requirements, using continuous MVP development and lazy evaluation.

Software Engineering
Jul 29, 2018
2 min read

Part Two: Using Typescript with Redux

Part two of using TypeScript with React: adding Redux. How to type actions, reducers, and connected components without fighting the compiler.

ReactTypescriptJavascript
Jul 15, 2018
5 min read

Generic Type Arguments in JSX Elements

How to use TypeScript 2.9's generic type arguments in JSX to build React components that extend their props while staying fully type-safe.

ReactTypescriptJavascript
Jun 2, 2018
3 min read

Part One: Using Typescript with React

Part one of a series on TypeScript with React. Build a typed counter, and cover props, state, and the setup pitfalls that trip people up.

ReactTypescriptJavascript
May 16, 2018
5 min read

Reusable Components: Factory Components

How to use the Factory Component pattern in React to split bloated 'mega components' with dozens of props into small, focused pieces.

ReactJavascript
Apr 10, 2018
3 min read