Joel Griffith


Lessons learned wrapping a REST API with GraphQL

I've recently went down the rabbit-hole wrapping a massive API with FaceBook's GraphQL specification. Aside from learning a ton about my company's API's, I walked away with a lot of lessons on good conventions doing this work. Learn from my pain and read below. 1.

Continue Reading

Require JavaScript files the sane way: with symlinks

On an application of medium to large size, requiring JavaScript files with relative paths can become a chore. I think you can agree that seeing: require('../../../some/dir/file_i_want.js') makes you feel somewhat uncomfortable. Though this may work in early-stage projects,

Continue Reading

You should use Rewire

One of the coolest, almost unheard of libraries, I've ever had the joy of working with is rewire. If you haven't already heard of it, rewire allows you to rewire variables in a JavaScript file to another reference. Wut. Yeah, you heard me, you can

Continue Reading

Top 5 React "Gotchas"

React is an open source library for "building User-Interfaces", open sourced by Facebook. If you're familiar with the traditional MVC pattern, React would be the "V" layer of that paradigm. I would even go so far to say that if you're not careful, React can

Continue Reading

Announcing Sicksync

Sicksync is a project born out of the need to "mirror" a file-system quickly. I had issues with rsync and scp as my workflow requires me to VPN to the east-coast, and back to my developer machine in LA. This wasn't super ideal, and for

Continue Reading