Recently published.
Older posts
10 posts · sorted newestIntro to Functional Programming
Functional programming built around immutable data, pure functions, and first-class functions. Adapted from a Boise Code Camp talk.
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.
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.
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.
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.
Write Software that Evolves
How to avoid analysis paralysis and ship software that grows with changing requirements, using continuous MVP development and lazy evaluation.
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.
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.
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.
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.