Travel, Code, and Engineering
Dependency arrays are a very important part of React Hooks. They allow you to indicate what your effects, callbacks, and memos depend on so they can be recalculated only when necessary. For...
Browsers typically load all of the images on the page as soon as possible. This is called eager loading. Sometimes, it's best if we wait to load images until we need them. This is called lazy...
After using Lodash for a while, I recently heard of Ramda. Ramda is another functional programming library for JavaScript. Ramda is pretty similar to Lodash in a lot of ways, so it's easy to switch...
I recently created an online version of Connect Four as part of a coding challenge. It is a SPA with the frontend written in Vue.js and the backend in Ruby on Rails 5.1. The code is available on...