Matt Crowder

Software engineer · Reston, VA

Matt Crowder

Software engineer writing about React, testing, and building things that last.

Matt Crowder

Writing

Latest from DEV.to

12 articles295 reactions35 comments

Optimizing callbacks inside reusable React hooks

Removing warnings about callbacks in your React.useEffect dependency array

Jan 6, 20224 min read5 reactions1 comments

Creating a node script that can write to google docs

Using oauth2, this shows how you can use nodejs to write to a google doc programmatically

Oct 7, 20194 min read17 reactions3 comments

I've been using cat and vim for the wrong reasons for so long...

A quick explanation on how to use pbcopy and paste

Apr 28, 20191 min read15 reactions7 comments

How to disable in browser linter errors in an ejected create-react-app application

How to disable in browser linter errors in an ejected create-react-app application

Apr 14, 20191 min read7 reactions0 comments

Configuring your mac to display the wifi name on the menu bar

Utilizing an application called hammerspoon, we write a lua script which displays the name of your wifi network.

Apr 13, 20192 min read14 reactions4 comments

Writing a custom react hook that persists to local storage

How to write a custom hook that persists to local storage

Apr 5, 20193 min read20 reactions2 comments

What's the difference between an action creator and a action?

This explains the difference between actions and action creators.

Apr 4, 20191 min read11 reactions0 comments

What happens when you only write try/finally

Without cheating, what is the output?

Apr 1, 20191 min read8 reactions0 comments

JavaScript object spread explained

The easiest way to understand javascript object spread

Apr 1, 20191 min read8 reactions1 comments

How to test implementation details with react-testing-library

In the slim chance that you need to test implementation details of a react component, this is how you do it with react-testing-library

Mar 31, 20193 min read48 reactions3 comments

You've been doing mapDispatchToProps wrong this entire time

mapDispatchToProps should be an object and not a function.

Mar 30, 20191 min read119 reactions11 comments

How to center elements vertically on a create-react-app project

You've just started a new react project with CRA, but you can't get your elements to be centered directly on your page, now what?

Mar 29, 20191 min read23 reactions3 comments