zach.codes

Three Webpack 2 Speed Improvements

by Zach Silveira • 
Since moving to webpack 2 I've been building out more complex apps than ever before. All I mean by this is, multiple dynamic imports are used across my app. Initially this was causing a 5 second delay on every file save. I've gotten it down to 1-2 seconds by doing...

Setting up GPG Signing for GitHub on Mac

by Zach Silveira • 
I know you want to have a verified badge like this next to your commits on github. On one hand, it's awesome. If you're not famous and aren't verified on Twitter, this feels almost as cool. The second reason is because you're reading this article! Setting up gpg keys can...

Hooking into Route Changes in React Router v4

by Zach Silveira • 
React Router v4 is coming up fast. The first beta was released this week which includes support for hooking into route changes. I needed the ability to run a couple things any time a route changed, so I came up with a simple component that runs as many things as...

The Ideal JS Developer Environment

by Zach Silveira • 
This past week I've taken some time to look at my current developer environment and invest a few hours (okay, more like 10) into some better tooling. After spending all that time, I'm relieved and see the benefit already. I think many developers put off looking up good tooling because...

Webdriver.io Quick Reference

by Zach Silveira • 
Here's a quick and dirty webdriver.io reference! Intro Webdriver.io provides selenium bindings for Node. There's a few other solutions out there, but it's the best that I've used by a long shot. No promises or callbacks to deal with, everything is synchronous. Follow their quick start guide to...