my face
paulgray.net

Posts about javascript:

Pipeable APIs
An introduction to pipeable APIs in fp-ts
June 03, 2021
Approximating haskell's do syntax in Typescript
An introduction to Do from fp-ts-contrib
March 27, 2020
Typeclasses in Typescript
A guide to using and building typeclasses in Typescript with fp-ts
February 11, 2020
The State monad
A thorough guide to fp-ts's State monad.
September 18, 2019
Redux Selectors are Monads
Using fp-ts to unlock advanced composition patterns.
May 17, 2019
Redux Selectors are Applicative Functors
What that means and why it matters.
March 11, 2019
Render Props; Not Dead Yet!
Render props still have a purpose in post-hooks react.
February 25, 2019
A Proposal for an Alternative Design for Hooks
An Alternative API for hooks based on functional programming patterns.
October 31, 2018
Chainable Components
A composable API for reusable React components
September 04, 2018
Typing HoCs
Writing type signatures for Higher Order Components
July 13, 2018
How to write an HOC (in 3 easy steps).
Writing HOCs is complicated, follow these three steps to make it easier.
January 02, 2018
Testing for Race Conditions with Redux
This post will explain how to write unit tests for race conditions in a redux reducer.
November 29, 2017
Why you need keys for collections in React.
This post will explain the importance of keys in React and some edge cases to consider when choosing them.
July 25, 2017
Types as a convenience, Assumptions.
Minimize your assumptions with types.
December 16, 2016
Types as a convenience, Inference.
Type-safe doesn’t mean verbose.
December 16, 2016
Types as a convenience, Intro.
Bringing types to your UI.
November 04, 2016