Benjamin Johnson
writinggithubcontact

Writing

  • 2020-12-22

    copyToClipboard

    • #typescript
    • #recipes
  • 2020-12-22

    useDebouncedValue

    • #react
    • #typescript
    • #recipes
  • 2020-12-17

    How TailwindCSS converted me

    • #css
    • #front-end
  • 2020-10-30

    Engineering values

    • #software-development
    • #philosophy
  • 2020-10-17

    Arrange, Act, Assert

    • #testing
  • 2020-10-14

    Writing a memoize function from scratch

    • #javascript
    • #from-scratch
  • 2020-09-29

    Using rem-based media queries

    • #css
  • 2020-09-11

    TypeScript generics

    • #typescript
  • 2020-09-05

    Dev-only routes in NextJS

    • #nextjs
    • #front-end
  • 2020-09-02

    Accessible icon buttons

    • #front-end
    • #accessibility
  • 2020-08-24

    Cheat sheet: using keys in React

    • #react
    • #javascript
  • 2020-08-20

    (Personal) code preferences: arrow functions

    • #javascript
    • #formatting
  • 2020-07-23

    Using "regex.test" with the "global" flag

    • #javascript
    • #regex
  • 2020-07-02

    Audit all NPM dependencies in a project using this bash script

    • #bash
    • #automation
    • #npm
  • 2020-04-22

    Type definitions for async functions in TypeScript

    • #typescript
    • #promises
    • #async
  • 2020-04-12

    Leaning into TypeScript for type-safe error handling

    • #typescript
    • #exception-handling
  • 2019-04-26

    Mocking the fetch API with Jest

    • #testing
    • #jest
    • #javascript
  • 2019-03-26

    Refactoring legacy code with Jest snapshots

    • #testing
    • #jest
    • #javascript
  • 2019-03-01

    Tools like Prettier ask us to give up control

    • #formatting
  • 2019-02-17

    Testing Animated Components in React Native

    • #react-native
    • #testing
  • 2019-02-07

    Coding with empathy

  • 2019-01-15

    3 ways everyone breaks their website’s focus state

    • #accessibility
    • #css
    • #html
  • 2018-11-19

    Adding pipelines to JavaScript

    • #functional-programming
    • #javascript
  • 2018-09-10

    What makes ReasonML so great?

    • #reason
    • #functional-programming
    • #javascript
  • 2018-07-02

    How CSS works: Creating layers with z-index

    • #css
  • 2018-05-29

    How CSS works: Understanding the cascade

    • #css
  • 2018-05-14

    Using trampolines to manage large recursive loops in JavaScript

    • #javascript
    • #functional-programming
  • 2018-04-10

    How CSS works: Parsing & painting CSS in the critical rendering path

    • #css
  • 2018-02-13

    Friends Don't Let Friends Write React Boilerplate

  • 2018-02-01

    Clean Console

  • 2018-01-27

    Some Thoughts on Elm

    • #functional-programming
  • 2018-01-06

    5 Front-End Technologies I'm Keeping My Eye on in 2018

  • 2017-10-24

    Why Keeping a Code Journal Will Help You Become a Better Developer

  • 2017-08-28

    Learning a New Codebase: The Good, The Bad, and The Ugly

  • 2017-08-14

    5 Myths About The Post-Bootcamp Job Search