zach.codes

Handling Auth in GraphQL (the right way)

by Zach Silveira • 
I started on my first production app using GraphQL a couple months back. I've just now been getting into the tougher parts of the app. Querying, mutating, and subscribing to things is awesome and trivial. Batching queries and a good way to log in and out of these sort of...

Building a Card Swiper in React Native

by Zach Silveira • 
This past month, a friend and I have been working on releasing React Screens. We plan on making two screens, complete with various UI elements that you can use some of, or the whole screen, in your own React Native apps. Along with this, I plan on writing a tutorial...

Recursive Promises in Node

by Zach Silveira • 
Recursive functions are extremely useful for many things in JavaScript. In React, you might want to traverse through all the children of a higher order component, even nested ones. There's many valid use-cases for these functions. Last week I realized that I needed to recursively call a promise and eventually...

Handling Client Side App Updates (with Service Workers)

by Zach Silveira • 
In the past month, I have been trying to find good ways to update client side apps. This is very important in the case of hot fixes, and even new features. Nobody wants to tell an angry customer, "Please restart your browser to see the latest changes." In this post...

CI Code Coverage + Tests in 5 Minutes!

by Zach Silveira •  Filed under javascript
Building open source software can be lots of fun. For some reason, it brings me way too much joy seeing code coverage and tests run on every push to github. It doesn't need to be hard to setup; I'm going to show you how to add automated testing and code...