Hi, I'm Derek.
I'm a software engineer at Microsoft based in Nashville, TN. I love all things JavaScript and have been developing for the web since 2012. I'm a lifelong learner and enjoy teaching programming topics in general.
I'm a Christ follower, husband, and father. When I'm not working in VS Code, I'm likely making espresso or planning trips abroad.
You've got mail JavaScript.
Sign up to get notified when I put out new content!
Featured
Put Down the Destructuring Hammer
A practical guide to using destructuring when it makes sense
Solving the Maintenance Nightmare with React Testing Library
How test render functions help us write maintainable tests
Don't Sacrifice Your Declarative API for One Use Case: A React Pattern for Conditional Hooks
Designing React components that support declarative and imperative APIs
All Posts
getByTestId: The Most Overused Query in React Testing Library
Changing our habits to have greater confidence in our test suite
Using Redux? React Testing Library Doesn't Care!
Why your state management doesn't matter to your test suite
Stop Serving Context Soup with Your React Testing Library Tests
Write more maintainable tests by abstracting global context providers
Within Reach: Testing Lists with React Testing Library
How the `within` function makes testing lists simple
Fix Your Failing Tests: A Debugging Checklist for React Testing Library
Solutions to the most common React testing issues
Solving the Maintenance Nightmare with React Testing Library
How test render functions help us write maintainable tests
Wary of the Query: Targeting Conditional Elements with React Testing Library
How one JavaScript feature makes querying conditional elements predictable
3 Steps to Frictionless TDD with Jest and VS Code
A simple workflow to make testing less painful
Put Down the Destructuring Hammer
A practical guide to using destructuring when it makes sense
Cheat Code for a Lightning Fast Front End: Building an Optimistic UI
How we can leverage the optimistic UI pattern for maximum performance in our app
Clean Up Your useEffect, But Not Too Much
The pitfalls of an implied cleanup function
Don't Sacrifice Your Declarative API for One Use Case: A React Pattern for Conditional Hooks
Designing React components that support declarative and imperative APIs
Migration to React Series
Convert your AngularJS app to React
Migration to React: Introduction
How to incrementally convert your AngularJS app to React
Rendering React in AngularJS
Using react2angular to convert your first AngularJS component to React
Calling AngularJS Services from React
How to let AngularJS own the global services in a hybrid AngularJS React app
Multiple React Roots in AngularJS
Managing multiple React root components in an incremental migration