In this article we’ll have a look at the React testing library, some of its packages and the main APIs to use in your test to simulate any situation in our App. The testing library that can be identified in your package.json as @testing-library i...
With Apollo Server, you can create an Apollo Federation for your GraphQL APIs. The pre-requisite for federation would be to have at least two different GraphQL APIs that you want to advertise under the same url. Or if you want to break down a big ...
We have talked briefly about Jest before in this blog before, but only on how to write a basic test and set it up within your project. Let’s dive a bit further with some interesting cases and advanced features that jest has to offer. If I didn’t...
In this article, I wanted to talk about clean code, but I don’t like the nearly religious symbolic meaning attached to it. There’s not one way to “clean code”, it’s more a collection of experimented rule of patterns that can help you write clear...
Introduction Redux is a self branded as “A Predictable State Container for JS Apps”, which is fancy but cryptic. So let’s have an overview of Redux within a React application! A bit of redux history To put it all into perspective, because Redux...
Having implemented and experienced the benefits of event sourcing, I wanted to talk about the pitfalls that could make your event journey a nightmare. If you are not familiar with event sourcing or event driven architecture, I recommend reading th...
Assuming you have been interested in React and started creating simple apps, you now want to make it more than a single web page by adding some routing into the mix. So take your newly React template App and let’s see how we can do some React Rout...
Google Analytics is a free service meant to track users and collect their online behaviour data when using a website, app or any kind of web product. And like mosquitoes you will find it almost everywhere you go to relax. So let’s have a look at i...
Now that we’ve seen how to create a GraphQL API from Apollo Server, Advanced Queries and Mutation to Bulk Mutations, custom Scalars and advanced Resolvers, you should have the hang of it by now. So let’s start using it in our front-end. The techno...
Here are some of the “advanced” techniques that you can use when working with Jekyll. It’s a compilation of Jekyll tips that I have tried or used within this theme Type-on-Strap. Hopefully some of them will be useful for you too! 🧪 I am always on...