Eston by mikedidthis

Terminals, Tea, RPGs

Personal blog of Daniel Gill, a software developer, tea enthusiast, and hopeless nerd

Home Rollout Initiate
Twitter Github Linkedin
Daniel Gill

Tricks with Variadic Tuple Types with TypeScript 4

TypeScript 4 released recently and the most interesting new feature is variadic tuple types. They have a lot of promise for functional programming in TypeScript, as they enable really sophisticated typing of the arguments of higher-order functions.

Programming Technology
4 months ago
0 Share 0 Tweet
0 Share
Daniel Gill

Structuring Redux Reducers by Action Type

I recently refactored a personal project of mine written using React & Redux. I've been thinking a lot recently about how to organize reducers. Previously I utilized the reduce-reducers library, and organized my reducers both temporally and structurally. That proved untenable in the long run.

Technology Programming
2 years ago
0 Share 0 Tweet
0 Share