I kicked off 2024 with an attempt to get more organized and continue my quest to rely less on big tech. To start things off, I’m trying out an open-source taskboard called Kanboard. It’s like Trello but without all the integrations or surprises. I’ve been using it for personal tasks and side projects. I like
Read moreAuthor Archives: Eddy Hernandez
Improving the Auth0 1-Hour Login Flow Expiration for Classic Universal Login
On February 21, 2024, Auth0 will shorten the TTL for their login flow transactions. This mostly impacts apps using the Classic Universal Login, which will redirect those end users to an error page if they attempt to complete a stale login transaction. An example would be an unauthenticated person loading the login form, walking away
Read moreBuilding Resilient React Apps
UIs that are heavily dependent on javascript for rendering views can be prone to crashing when uncaught errors are thrown. React-based applications are no exception. This post aims to provide guidance for building resilient user interfaces by prioritizing error handling with React. Error Classifications I like thinking about the types of errors that can happen
Read moreRevisiting alternatives to Heroku, Vercel Edition
This post is for folks who are already paying for Heroku but are interested in other options. I recently reviewed alternatives to them after they dropped their free tier late last year. I’ve enjoyed how simple their setup was and the developer productivity I got out of it, especially when working with other devs. But
Read moreNew Blog, New Dog
I’ve done a decent job at announcing my new website/blog designs and the tooling I used to build it but not that great of a job actually publishing content. In hopes of keeping things fresh around here, especially with the state of Twitter (and Instagram), I decided to work with something that can easily store
Read moreNew Website
Welcome to my new site! It’s built on top of Gatsby, a static site generator. It uses React, GraphQL, and a special version of markdown called MDX to render the pages you’re reading. MDX is a neat way of mixing React (JSX) and Markdown. I enjoy Markdown for it’s brevity when writing notes or documentation. I enjoy React for managing
Read moreSwitching out callbacks with promises in Mongoose
Working with promises and mongoose just became a whole lot easier with the 4.1 release, which added the ability to specify alternative promise libraries. Prior to that, promise support was limited to the mpromise way of using promises. For some folks, including myself, this meant there wasn’t a friendly .catch method available to the promise
Read moreAn intro to the OS X command line
This post is inspired by the terrible experiences I had when I first started working in the command line and is hopefully a better introduction to working with it in OS X. Before we go any further, I highly suggest you download and install iTerm2 because the default Terminal.app can be a bit little lacking.
Read moreSwig for Designers
What’s Swig? Swig is a node.js templating engine that includes things like layouts, partials, logic tags and filters out of the box. Simple ingredients to make designing for the web a pleasant experience. Why use Swig over something like handlebars? Well, when I was rebuilding my site in metalsmith with metalsmith-templates, I needed some logic to live in my
Read more