Blog

Posts on software development, careers, and craft.

Woah

Woah! Just found the PurgeCssPlugin for Webpack. It eliminates unused CSS! I didn't know this was easily possible with plain CSS, but it just elimi...

Common mistake in React apps: Storing values in state that could be derived...

Common mistake in React apps: Storing values in state that could be derived from existing state. Doing so leads to manually trying to keep state va...

Developers: When asked to disable copy/paste, just say no

Developers: When asked to disable copy/paste, just say no. People who store info digitally should be able to copy/paste, without risking a typo. Di...

Just converted a React component to use Hooks

Just converted a React component to use Hooks. Here's the diff: https://github.com/coryhouse/pluralsight-redux-app-used-to-build-script/pull/18/fil...

🎉 It’s live

🎉 It’s live! 🎉 “Securing React Apps with Auth0” just published on @pluralsight! This course shows how to handle authorization and authentication...

Spent yesterday building a React app using Hooks

Spent yesterday building a React app using Hooks. What a joy. Even as a long time React dev, composing lifecycle methods remains tricky. useEffect’...

Just drove a @Tesla Model 3

Just drove a @Tesla Model 3. I am in love. So smooth. So fast. So quiet. So solid. Autopilot works like magic. I have tasted the future, and it is...

The 2018 State of JS Survey results are published

The 2018 State of JS Survey results are published! 🎉 Highlights: - React dominates, but Vue popularity has grown. - GraphQL has highest interest,...

Everyone’s life is filled with gravitational pulls that hold you in place:...

Everyone’s life is filled with gravitational pulls that hold you in place: Job Location Lifestyle Friends Family Self-image Tricky thing about majo...

Time is money

Time is money. So I buy the fastest machine I can afford. Waiting for a beach ball / spinner literally costs money in the form of lost focus, frict...

Exercise is seriously magical

Exercise is seriously magical. You can wake up feeling lethargic and feel totally transformed 15 minutes into a hard workout. Alert. Optimistic. Re...

Woot

Woot! Just wrapped up recording my 10th @pluralsight course! 🎉 “Securing React Apps with Auth0”! Thanks to everyone for their input along the way!...

It takes me 2+ hours of recording and editing to create a tight 5 min video

It takes me 2+ hours of recording and editing to create a tight 5 min video. -I cut pauses -I speed up my typing -I edit it so that I talk & ty...

At conferences, I frequently talk to attendees who blow me away with their...

At conferences, I frequently talk to attendees who blow me away with their knowledge and skills. There are countless brilliant people out there who...

Promise.all combined with modern JS features like destructuring, object...

Promise.all combined with modern JS features like destructuring, object shorthand, and concise arrow functions is 🔥. Here I'm making three API cal...

Idea: 1

Idea: 1. Create a single React storybook for an entire company. 2. Build components there before integrating with an app. 3. Share these components...

When I was young, I dreamt of things I wanted to buy

When I was young, I dreamt of things I wanted to buy. Today, I dream of things I want to create, skills I want to learn, and places I’d like to exp...

Optimism is the most important quality you can develop for success and happiness

Optimism is the most important quality you can develop for success and happiness. Optimists have 3 behaviors: 1. Look for the good 2. Seek the valu...

It’s live

It’s live! “Goodbye REST APIs. Hello GraphQL!” is now published on InfoQ! 🎉 https://www.infoq.com/presentations/rest-graphql

Procrastination is often a sign we don't have clarity on how to move forward

Procrastination is often a sign we don't have clarity on how to move forward. But as developers, our work is malleable, so we can start anyway. Com...

The most striking benefit of dev in React/Angular/Vue vs jQuery: Components...

The most striking benefit of dev in React/Angular/Vue vs jQuery: Components free our minds. We can create portions of the UI in complete isolation,...

Just switched some tests from Enzyme to react-testing-library: ✅ Encourages...

Just switched some tests from Enzyme to react-testing-library: ✅ Encourages writing accessible apps ✅ Selectors typically rely on visible text ✅ Sm...

An oddly common career mistake: Becoming the go-to person for something we...

An oddly common career mistake: Becoming the go-to person for something we don't enjoy. One solution: Strategic public ignorance. We should deliber...

One of the most powerful things you can do for your motivation: Find work...

One of the most powerful things you can do for your motivation: Find work that doesn’t feel like work.

Odd habit: I often code in Git diff view

Odd habit: I often code in Git diff view. I find it's quicker to navigate the code since I can clearly see the sections of the file that I've alrea...

I keep noticing examples of how movement *creates* motivation: Start walking...

I keep noticing examples of how movement *creates* motivation: Start walking on the treadmill and I tend to keep walking. Start lifting weights and...

Tip: If you don't need to return anything while iterating over a JS array,...

Tip: If you don't need to return anything while iterating over a JS array, use forEach instead of map. #javascript

Okay Twitter, I'm teaching my 10 year old son to code today and I need help

Okay Twitter, I'm teaching my 10 year old son to code today and I need help. In the Chrome console, he accidentally assigned a variable to an undef...

Really enjoying my new outdoor office

Really enjoying my new outdoor office! Bought comfy patio furniture and a Steelcase Skate table. Now I can work on the deck! The table rolls up ove...

Why I ❤️front end dev: 1

Why I ❤️front end dev: 1. Rapid feedback loop 2. Visual results 3. Vibrant open source ecosystem 4. Freedom to choose my tools (nearly all free) 5....