An insight into our use of GraphQL with React and Apollo at Ditto Music

GraphQL is a hot topic at the moment in the front end development community. This short post will hopefully give you insight into why we have used GraphQL at Ditto Music and also how I have queried our GraphQL API in the React layer. First let me start with a bit of background. Currently, once Ditto customers or artists login to their account area, they can view stats about how they are performing. »

Unit Testing React with Jest

I’ve been writing React components and applications for a long time now and everytime I do, I always use the same unit testing setup and tools - Karma and Jasmine. There’s really nothing wrong with these tools, they’ve been around for a very long time, are well maintained and they provide everything you need to properly test your JavaScript. However, I wanted to see what all the fuss around Jest was. »

React at Zuto

At Zuto we’ve been using React for around six months now. The repository which contains all our React components was created back in October 2016. At the time of writing it has seen 700 commits by 5 main contributors. This post aims to summarise some technical decisions we have made along the way. When you start to learn React, you’ll quickly find like with most JavaScript frameworks or libraries, there are ten million different ways of writing it. »