August 02, 2017

What I've Learned From Git Commiting Every Day for Three Months

or Code and the Shackles of Behavioral Psychology

I want to say this up front, I did not intend to do this. I never had a plan to get a streak of commits going. Frankly, I noticed that I had done it naturally for a few weeks and decided to keep it up. Now it's kind of at the point where I waver on a daily basis between keeping it going and letting…

Categories
Web Development
July 12, 2017

How to Write Your Own JavaScript DOM Element Factory

A Basic HyperScript h() Function

Recently at an interview I was asked to write a custom component from scratch with vanilla JavaScript. I thought I'd take a few minutes to write part of that code for you. It's not as scary as it might seem at first.

There are three basic parts to any DOM element: the type of element it is, any…

July 03, 2017

My Mock Interview Experience with Rick Altherr from Google

or Practice Without the Pressure

A few days ago, I came across a tweet by Stephanie Hurlbut, a software engineer and entrepreneur who uses her influence to help other engineers out. Allow me to share that tweet with you:

I was really intrigued by this idea and was hoping someone would rise to the occasion. As it so happens, a few…

Categories
Web Development
June 24, 2017

Make Your Own Charts in React Without a Charting Library - Part 1

Occasionally I see someone ask, "What's the best way to make bar charts with React? Are there any great libraries?" I often respond with, "Why not build it with React yourself?"

React's one-way data binding model is perfect for creating simple data visualizations from scratch and I want to show you…

Tags
React
May 18, 2017

How I Stumbled Upon Normalizing Redux State

and later learned it's a real thing

My most recent work project was an interesting challenge. I built an app (actually 2 Electron apps supporting 3 React apps communicating through WebSockets) that allowed a user (actually 4 simultaneous users) to look at an array of stories related to sea ports, select one, have a detail component…

Tags
Redux
May 17, 2017

ShevyJS

This morning I released ShevyJS into the wild. ShevyJS is a remake of Shevy for CSS-in-JS styling.

If you're new to the concept of CSS-in-JS, you can find some great resources on the topic including this massive repo. In a nutshell, CSS-in-JS is the task of adding styles either inline or otherwise directly with JavaScript. You may have seen a style tag used…

Previous1234
5
67891011Next