In the last article, we looked at the process of mining in blockchain in depth. This article will look at how blockchain avoids double spending and how it manages to be immutable. Before we learn… Read More The post Double spending and immutability in blockchain appeared first on The Armchair Critic.
React 18 introduced a completely new paradigm to the frontend realm in the form of React Server Components (RSC). Next.js 13 followed suit by introducing support for RSC through their app directory, which is in… Read More The post React Server Components vs. Server-Side Rendering appeared first on The Armchair Critic.
We looked at Merkle proof in the previous article and that concluded our discussions on blocks and their structure. In this article, we shall look at the process of mining in detail. There are two… Read More The post Mining in blockchain appeared first on The Armchair Critic.
In the last article, we discussed the Merkle tree and how we can use that to ensure integrity, that is, to make sure that no transaction got added to the block after a miner mined… Read More The post What is Merkle proof and why do we need it? appeared first on The Armchair Critic.
In this article, we talk about block structure in blockchain, the block header and how we generate the Merkle root.… Read More The post Block structure in blockchain appeared first on The Armchair Critic.
We looked at the Proof-of-Work algorithm in the previous article, and in this article, we shall look at how we adjust the target hash based on the difficulty value to keep the transaction time constant.… Read More The post Difficulty adjustment in blockchain appeared first on The Armchair Critic.
In the previous article, we saw how we use a puzzle to achieve consensus. In this article, we will see how we use Proof of Work as the puzzle and how it works. As we… Read More The post How Proof of Work is used to establish consensus in blockchain appeared first on The Armchair Critic.
In the previous article, we saw how we order transactions in a blockchain by hashing transactions. However, this alone doesn’t help achieve consensus as we haven’t found a way to solve the confusion we talked… Read More The post Blockchain consensus using a puzzle appeared first on The Armchair Critic.
In the previous article, we took a look at how we verify transactions in detail. In this article, we will look at why the order of transactions matters and how we can establish an order.… Read More The post Establishing an order of transactions in blockchain appeared first on The Armchair Critic.
We discussed proving ownership of bitcoins in the previous article. Let’s discuss how verifying transactions works at length in this article. Remember that earlier we learned that the pubkey script has a few scripts in… Read More The post Verifying blockchain transactions appeared first on The Armchair Critic.
This article discusses blockchain account addresses, how they are used to prove ownership of bitcoins and how blockchain transactions work.… Read More The post Proving Ownership of Coins in Blockchain appeared first on The Armchair Critic.
In the previous article, we discussed hashing, asymmetric encryption, and digital signatures. In this article, we will dwell on how blockchain transactions work. An easier way to learn how blockchain transactions work is by following… Read More The post Understanding blockchain transactions appeared first on The Armchair Critic.
In this article we will learn about hashing, asymmetric encryption, and how we use them to produce digital signatures.… Read More The post Hashing, asymmetric encryption, and digital signatures appeared first on The Armchair Critic.
Let's look at how we can adapt the right mental model of useEffect to fix the exhaustive-deps warning.… Read More The post Fixing exhaustive-deps warning in some common use cases appeared first on The Armchair Critic.
I had a tryst with the eslint exhaustive-deps rule recently. It made me go down the rabbit hole and realize that I have been using the useEffect hook wrong. In this article, I will be… Read More The post You might be using useEffect wrong the whole time appeared first on The Armchair Critic.
useTransition and useDeferredValue are two new hooks React introduced with React 18 earlier this year. These two hooks make use of React’s concurrent rendering to allow developers to provide a better user experience in their… Read More The post useTransition and useDeferredValue in React 18 appeared first on The Armchair Critic.
Passwords are becoming obsolete, and the tech world is exploring various different technologies to allow users to log in without passwords. In this article, we discussed the perils of passwords and how FIDO2 can help us go… Read More The post Magic link authentication using Asgardeo appeared first on The Armchair Critic.
In the previous article, we looked at the motivation behind blockchain. In this article, let’s look at the challenges of a decentralized digital financial transaction system. As we saw in the previous article, in a… Read More The post Challenges of a decentralized transaction system appeared first on The Armchair Critic.
The online literature on blockchain is torn between too simplistic rundowns for non-techies and advanced hieroglyphic riddles targeted at those who want to learn blockchain in depth. When I started learning blockchain, unfortunately, hardly did… Read More The post The motivation behind blockchain appeared first on The Armchair Critic.
Invoking a parent component’s method from a child component is pretty straightforward in React. We can do it by passing the method as a prop to the child component. But what if we want to… Read More The post Call a child component’s method from its parent in React appeared first on The Armchair Critic.