Detect and Refactor JavaScript Copy-Paste Code

In this post (and the above 5 minute embedded video) weโ€™ll look at how to detect copy and pasted code inside of your web application using two different node command-line tools.

Read More »

Debugging a Create React App with VS Code

In this post (and the above 4 minute embedded video) weโ€™ll look at how to configure Visual Studio Code to debug React Components and Jest Unit Tests inside a web application that was created by create-react-app.

Read More »

Getting Started with Create React App

create-react-app is a handy CLI tool which allows you to quickly create and run a React application with no configuration. In this post (and the above video) Iโ€™ll show how to get started with create-react-app and long the way, weโ€™ll look at each of its built-in scripts and also investigate various ways to keep your react-scripts dependency up-to-date.

Read More »

Toggle Wi-Fi Light when using Zoom with JavaScript

As a remote employee I am often sharing my video on Zoom while working. I may be pair programming, in a meeting, or just checking in with a co-worker. This happens numerous times throughout the day, but itโ€™s hard to predict when Iโ€™m on.

Read More »

Run npm scripts in a git pre-commit Hook

If your team is anything like the one I work with, everyone has their own preferred IDE that they use (Sublime Text, Atom, WebStorm, Vim, Visual Studio Code, etcโ€ฆ) and although most of them have integrated linting support that doesnโ€™t guarantee all issues have been addressed before a Pull Request is made.

Read More »