This article focuses on `useQuery` & `useMutation` hooks of React Query

Call useQuery hook with at least :

  • Unique Key name for query
  • Function returning Promise which either resolves data or throws error

Let’s talk about code implementation now .We have folder hasura-graphqlwith file queries/user.js which contains graphql query for…


Photo by Ferenc Almasi on Unsplash

GraphQL

Get exactly what you need from your service

GraphQL is a query language for APIs and a runtime for providing all queries with your existing data. GraphQL APIs get all the data your app needs in a single request.

Hasura

Instant Realtime GraphQL on all your Postgres data.

The open-source Hasura.io…


What is consensus mechanism in context of distributed computing / blockchains.

The basic issue in distributed computing and blockchains systems is to achieve overall system reliability in the presence of a number of faulty processes. This often requires processes to agree on some data value that is needed during computation

These processes are described as consensus.

  • In case of malicious actor


What is serverless computing architecture ?

A serverless architecture is a way to build and run applications without having to manage infrastructure. Your application still runs on servers, but all the server management is done by provider. You no longer have to think about scaling and maintaining servers to run your applications, databases, and storage systems

Reference — https://cloud.google.com/functions/

Yogeshwar Tanwar

Full stack dev with AWS expertise

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store