Blog

Dynamic Theming with Styled Components and NextJS

Jul 10, 201915 mins

What if you could automatically theme your React app with the internet's favorite color palettes? Styled-Components, a little React Context and colourlovers.com may prove a powerful combination.

Always Throw Away Your Event Listeners

May 7, 201925 mins

Unlike your React components, the event listeners they've created don't magically disappear after their UI unmounts from the DOM. Undisposed event listeners will linger in your browser to haunt future components.

Pretty Printing Javascript Object Literals

May 1, 20195 mins

Pretty printing javascript objects as JSON is easy, but what if you wanted to print the object as it appears in your code editor? Join me to find out.