Payton.Codes

Musings on life, games, and code

Hi, I’m Payton!

I’m a passionate coder by day and an enthusiastic tabletop dungeon master by night.

This blog is a place for me to tell stories and share fun things I’ve made. I write about insights from my coding projects, philosophical thoughts, and tales from epic D&D campaigns. Whether you’re a fellow developer, someone looking for a one-shot game, or a good friend, I’m excited to share my knowledge and adventures with you.

Here’s some of my latest posts

  • Higher Order Components and Pie Recipes

    Higher Order Components and Pie Recipes

    Higher Order Components (“HOCs”) are the latest hotness to come out of the JavaScript idea world and land in our apps. React apps, anyway. I…

  • Power and Love

    Power and Love

    Here’s a quote by Martin Luther King Jr. that I learned today and I really feel compelled to share: Power without love is reckless and…

  • Test spies in PHP

    Test spies in PHP

    I think that I wrote my first unit tests in Ruby with RSpec, back in the day. But I learned most of my testing knowledge…

  • An iframe without a url

    An iframe without a url

    Sometimes you need to display html inside an iframe, but it’s not at a URL. Perhaps you got the markup from an API endpoint or…