Info  |  Work  |  Blog

I Have to Write This Down

A blog about React, TypeScript, and of course bananas.
Some of these posts appear on dev.to.

A use case for TypeScript Generics

August 15, 2019

The following may be a bit obvious for some. But something just clicked in my head and I thought I’d write it down.When generics are a good…

React + TypeScript Monorepo Demo

August 01, 2019

At work we have a project spanning across 4 repositories: 3 React apps + 1 TS library (used by the 3 react apps).We’re considering moving…

Catching bugs with stricter TypeScript

July 19, 2019

We recently enabled "noImplicitAny" in a relatively old TypeScript project. It resulted in 269 new errors. Most of those were missing type…

Configuring Prettier and TypeScript Compiler as a Pre-commit Hook

June 21, 2019

We can easily improve our developer experience by:Preventing broken code being committed/pushed.Avoiding pointless arguments about…

Publishing a React Hooks Library using Typescript and TSDX

May 15, 2019

I started my personal hooks library and decided to publish it as an npm package. Doing this in TypeScript was not straightforward, until…

Cancelling a Promise with React.useEffect

April 07, 2019

I’ve seen it done in complicated ways so I have to write this down.Quick ExampleIn the code above, the fetchBananas function returns a…

Adding custom OpenGraph images to Gatsby Starter Blog

March 01, 2019

I have a blog based on the Gatsby Starter Blog without any modifications.The ProblemI want my posts to have a nice image when sharing them…

Testing Opinions

February 22, 2019

⚠️ Warning! This article is highly opinionated.It happens often at work that my colleagues and I discuss the best way or the proper way to…

Null Checking in TypeScript

February 05, 2019

Following up on the previous gist about avoiding non-null-assertion operator I think it would be good to see some examples of null checking…

Avoiding the Non-null-assertion Operator in React + Mobx + Typescript Projects

February 01, 2019

Today I learned something at work. I am new to MobX and I had to make changes to a React + Typescript + MobX project. I noticed the props of…

Introducing Banana Tabs

December 10, 2018

Has this ever happened to you?You keep lots of tabs in a single window to the point where you can’t tell what’s what anymore.Or worse: you…


December 01, 2018

This is my first post on my new Gatsby + Netlify blog.I plan to use this blog to share as I learn React, TypesScript and related tech.If…

Julian Garamendy

Written by Julian Garamendy