1. Conditional Rendering Tactics for React Components

    A common situation when writing React components is needing to render a particular component only under certain conditions. There are many ways to accomplish this, but the route you take often has nuanced implications or differing utility based on the current state of the code/component/system.
    Time An icon of a clock Publish Date
    February 4, 2020
    Person An icon of a human figure Authors
    Tommy Groshong
    Category An icon of a paper organzier Categories
    JavaScript
    React
  2. A Model View Controller Pattern for React

    React is an amazing library. Over the last 5 years it has transformed the landscape of frontend development and spawned an incredible ecosystem of tools, libraries, and patterns. Over that time, React has changed quite a bit.
    Time An icon of a clock Publish Date
    November 4, 2019
    Person An icon of a human figure Authors
    Tommy Groshong
    Category An icon of a paper organzier Categories
    JavaScript
    React
  3. What happens when you extract a function anyway?

    Imagine you’ve got this snippet of code: (If this looks scary, try reading the original code from testdouble.js—I’ve made some changes to it here that make it a bit uglier)
    Time An icon of a clock Publish Date
    May 28, 2019
    Person An icon of a human figure Authors
    Kevin Baribeau
    Category An icon of a paper organzier Categories
    JavaScript
  4. Abusing Promises as a Locking Mechanism

    One of my favorite things about Promises in JavaScript is that they have a well-defined and narrow purpose: you ask for data and get a Promise that will give it to you asynchronously.
    Time An icon of a clock Publish Date
    May 14, 2019
    Person An icon of a human figure Authors
    Neal Lindsay
    Category An icon of a paper organzier Categories
    JavaScript
  5. Running Node on Raspberry Pi

    Last Christmas I received a gift so diabolical it ruined many weekends and kept me up at night. It was a brand new Raspberry Pi Zero. The possibilities were too endless for my finite brain to handle, so I took the only obvious course of action.
    Time An icon of a clock Publish Date
    January 18, 2019
    Person An icon of a human figure Authors
    Kaleb Lape
    Category An icon of a paper organzier Categories
    JavaScript

Search An icon of a magnifying glass Search the Blog

Person An icon of a human figure Featured Authors