Apollo hooks: Why and how to use

Apollo's Query and Mutation components are easy to use. But since they use the render prop pattern they often decrease readability. This is especially true when you need to nest them, for example when a component needs to both query and mutate data. Another problem is that you often end…

Facebook login with GraphQL and Passport

Implementing a proper authentication system can be very challenging especially if you save user credentials in your own database. You need to handle this confidential data with great care by encrypting and storing passwords securely. And still, you might introduce vulnerabilities which expose valuable data. Therefore offering social logins for…

Subscribe

I regularly post new articles related to GraphQL and React. Drop your email in the box below and you'll receive updates right in your inbox.

Series of articles

Authentication and Authorization with GraphQL and Passport

Authentication and authorization can be a challenging topic. Especially with GraphQL as a pretty young technology, there seems to be a lot of uncertainty and confusion. Should you use a library like Passport.js which is established? But how would you integrate that with GraphQL? Should you rather use separate…