Julian Garamendy

Julian Garamendy @juliang

About: Software Engineer at TransferWise.

Location:
London
Joined:
Mar 3, 2019

Julian Garamendy
articles - 19 total

This post should appear on my blog automatically

My personal site uses a Next.js **Incremental Static Regeneration**. Posts published on dev.to automatically appear on my blog.

Learn More 3 1Feb 4 '21

Using Dev.to as CMS for my Next.js blog

My Next.js site fetches my published articles using the dev.to API. It generates all pages at build time, and then individually again on every request. Also new articles can appear in my blog without having to build and deploy. Here's how it works.

Learn More 17 0Jan 23 '21

Persistent REST API with json-server and Glitch

This is the easiest way I know to get a public persistent REST API up and running in under 1 minute, without writing any code.

Learn More 6 1Aug 31 '20

Why I never use React.useContext

Instead of using React.createContext directly, we can use a utility function to ensure the component...

Learn More 10 2Aug 17 '20

React State Management in 2020

Here's what I do for medium-sized CRUD-like single-page React applications.

Learn More 203 9Aug 1 '20

What Westworld and React Hooks have in common

⚠️ Spoiler alert! If you haven't watched Westworld perhaps you may want to skip this post. In the fi...

Learn More 9 0Apr 26 '20

Managing Remote Data with SWR

In this series, instead of using a state-management library or proposing a one-size-fits-all solution...

Learn More 26 3Feb 27 '20

How SWR works behind the scenes

I first learned about SWR thanks to a video tutorial by Leigh Halliday: "React Data Fetching with Hoo...

Learn More 226 5Feb 24 '20

Readonly<T> and Better Error Messages

A few weeks ago I learned something about TypeScript errors and utility types. The following is true...

Learn More 4 0Feb 5 '20

Sharing Remote Data with React Context

In this series, instead of using a state-management library or proposing a one-size-fits-all solution...

Learn More 42 2Sep 17 '19

Changing Remote Data with Hooks

In this series, instead of using a state-management library or proposing a one-size-fits-all solution...

Learn More 19 0Sep 17 '19

Loading and Displaying Data with Hooks

In this series, instead of using a state-management library or proposing a one-size-fits-all solution...

Learn More 53 0Sep 17 '19

A use case for TypeScript Generics

The following may be a bit obvious for some. But something just clicked in my head and I thought I'd...

Learn More 22 6Aug 15 '19

Catching bugs with stricter TypeScript

We recently enabled "noImplicitAny" in a relatively old TypeScript project. It resulted in 269 new er...

Learn More 13 5Jul 19 '19

Configuring Prettier and TypeScript Compiler as a Pre-commit Hook

We can easily improve our developer experience by: Preventing broken code being committed/pushed. A...

Learn More 10 3Jun 22 '19

Publishing a React Hooks Library using Typescript and TSDX

I started my personal hooks library and decided to publish it as an npm package. Doing this in TypeSc...

Learn More 37 6May 15 '19

Cancelling a Promise with React.useEffect

How to properly subscribe and, more importantly, unsubscribe from a Promise with React.useEffect

Learn More 12 3Apr 8 '19

Testing Opinions

Testing the output of a function is not the same as testing its implementation details.

Learn More 2 1Mar 4 '19

Adding custom OpenGraph images to Gatsby Starter Blog

I have a blog based on the Gatsby Starter Blog, but I want my posts to have a nice image when sharing them on social media.

Learn More 6 3Mar 3 '19