When to use React's memo HOC
The memo higher-order component can prevent your component for re-rendering unnecessarily, but you should use caution before using it
My name is Sean McPherson, and I’m a software engineer interested in all areas of front-end development: from HTML and CSS and JavaScript frameworks to mobile apps and developer tools.
Currently I work at Khan Academy building web and mobile applications in React and React Native. On the side, I like to work on little projects that help make people’s lives easier like Toollama.com.
Outside of work, I enjoy spending time with my family (wife, two sons, and dog), playing and watching soccer, re-playing my favorite board games, and trying not to embarrass Jesus Christ.
The memo higher-order component can prevent your component for re-rendering unnecessarily, but you should use caution before using it
A little tool to calculate 5 + 4 + 3 + 2 + 1
A tool to look up common words by their consonant-vowel pattern and resources for the rest
A growing list of artists that I like to listen to while programming.
Walking through the steps within the Google Chrome dev tools to better mimic your users' devices.
This week I gave a talk titled React Bug Catcher: Tools and strategies for debugging React apps at React Global 2022. It was a good experience, but I really underestimated (again) how much time it takes to prepare a conference talk. ⌛️