Web Development

Resolving nested queries in GraphQL

When creating a GraphQL server with relational data, we want to return the data in a hierarchical format with those…

4 years ago

Creating a GraphQL API with Apollo Server

One of the many complaints about the GraphQL ecosystem is that there is a lot of indirection around what packages…

4 years ago

How to unit-test a private (non-exported) function in JavaScript

When writing unit-tests for JavaScript modules, we often encounter a dilemma wherein the module has some private functions that have…

4 years ago

Detecting click outside component using React hooks

If you have tried developing your own dropdown, modal, or popover in React, you would have come across this. "How…

4 years ago

Beating JSON performance using Protocol Buffers

Protocol buffers or Protobuf, is a binary format that was created by Google to serialize structured data that is transferred…

4 years ago

The new Logical Assignment Operators in JavaScript

The latest version of ECMAScript introduced three new logical assignment operators: nullish, AND, and OR operators. These are supported from…

4 years ago

How to groupby using reduce in JavaScript

The groupBy method is one of the reasons people use lodash in their project. In this blog post, we will…

4 years ago

Learning context API and the useContext React hook

In this react hooks series, we have already explored the react hooks useState, useEffect, and useReducer. The next react hook…

4 years ago

Understanding the useReducer hook in React

Building upon our React hooks introduction from our previous post on understanding React hooks (useState and useEffect), we will look…

4 years ago

React Hooks and Local Storage: Let’s build a ToDo app

React hooks have been around for quite some time. They have been widely adopted by the React community since then…

4 years ago
Advertisements