Posts filed under #howto
Post Date Description Categories
EventTarget with TypeScript 6/18/2021 Use TypeScript with the EventTarget DOM API to add type safety to event-driven user interfaces. typescript howto
Event Emitters in TypeScript 10/20/2019 TypeScript enables safer, more maintainable event emitters. Here's how to add type safety to the pattern you know and love. typescript howto
Damage Control in Distributed Systems 4/24/2019 Grid operators, systems thinkers, and grey-beard sysadmins will tell you: systems are hard. development typescript howto
Using React Hooks with TypeScript 1/27/2019 Use TypeScript and React Hooks like useReducer and useState to create typesafe, maintainable state containers. Here’s how to do it. typescript react howto
Creating a CLI with TypeScript 8/12/2018 The same statically-typed goodness for web applications is just as helpful for building command-line interfaces. typescript howto react
React Render Props with TypeScript 8/11/2018 Using render props with TypeScript makes it easy to safely sharing logic across React components. typescript howto react
Using React Context with TypeScript 5/24/2018 Use TypeScript and React Contexts to safely share state across React components—or an entire Application. typescript howto react
Testing with TypeScript, Enzyme, and React 3/23/2018 Testing with TypeScript and Enzyme offers a friendly, typesafe alternative to React's built-in test facilities. typescript react testing howto
Generic Redux Actions with TypeScript 3/1/2018 Have the cake and eat it, too: dispatch asynchronous redux actions with all the benefits of TypeScript's type system and only minimal boilerplate typescript react redux howto
Keeping Git Hooks in Sync 1/26/2018 Sharing git hooks with your team makes it easy to automate expectation and workflows. Here are three ways to do it. howto process git bash
Reducing Typescript and Redux Boilerplate with Partial Actions 9/4/2017 Static typing is meaningless if boilerplate precludes its use. Partial actions can minimize repetition while still retaining safety and ease-of-use. typescript redux howto
React Higher Order Components with TypeScript 8/19/2017 React HOCs are good for encapsulation; even better with their contents secured by TypeScript. typescript howto react
Integrating TypeScript and redux-thunk 1/21/2017 Thunk middleware and async action-creators help clarify the logic of Redux applications. Here's how to bring them into TypeScript. typescript howto redux
Testing TypeScript with Jest 12/11/2016 Jest and TypeScript make it easy to write maintainable, strongly-typed unit tests. typescript jest testing howto
TypeScript and Async Redux Actions 9/26/2016 TypeScript brings strong assurances to async actions in Redux applications. typescript redux howto
Tutorial: TypeScript, React, and Redux 8/17/2016 It's easy to connect a TypeScript / Redux application to a typesafe React.js UI. Here's how they fit together. typescript redux react howto
Tutorial: Getting Started with Redux and TypeScript 8/16/2016 In this short guide, we'll use TypeScript to make a Redux project that's safe, consistent, and accessible. howto typescript redux
Introduction to Git Hooks 7/5/2016 git hooks are a powerful tool for workflow automation howto git bash
How to Ruin Code Review 6/17/2016 Ten guaranteed strategies for raining misery down on code review howto process development
Testing API Requests From window.fetch 6/5/2015 Using Sinon to stub `window.fetch` with mock API requests simplifies client testing and development. Here's how to do it. howto javascript sinon testing
Testing API Requests with XHR and sinon.js 5/31/2015 Testing API behaviors with XHR and sinon enables portable, straightforward specifications. Here's how to do it. howto javascript sinon testing
Analyzing JSON from the command line 3/8/2015 Sometimes we don't want to fire up a spreadsheet just to take a peek at our data. Thanks to the command line, we don't have to. howto jq
Putting React Custom PropTypes to Work 1/21/2015 React Custom PropTypes help clarify component interfaces. Here's how to put them to work. howto react javascript
Managing JSON with jq 6/25/2013 Update: I’ve released a workshopper-style interactive tutorial covering the basics of jq. Just... howto jq