---
title: "Aviral Sharma (@aviralsharma) | Hashnode"
description: "Software Developer. Read the latest articles by Aviral Sharma on Hashnode."
url: "https://hashnode.com/@aviralsharma"
---

@aviralsharma

# Aviral Sharma

@aviralsharma · New Delhi, India · Joined July 2022

Software Developer

[Website](https://aviral.app/)

### [The Intersection Observer Hook That Actually Handles Conditional Rendering](https://aviralsharma.hashnode.dev/the-intersection-observer-hook-that-actually-handles-conditional-rendering?utm_source=hashnode&utm_medium=feed)

\### SEO title Fixing React IntersectionObserver Hooks for Conditional Rendering ### Meta description Why common IntersectionObserver hooks fail with

5 min read · [aviralsharma.hashnode.dev](https://aviralsharma.hashnode.dev/the-intersection-observer-hook-that-actually-handles-conditional-rendering?utm_source=hashnode&utm_medium=feed)

[Mar 23](https://hashnode.com/posts/the-intersection-observer-hook-that-actually-handles-conditional-rendering/69c089b759277eaa9c08994e)

### [How to Implement a Token Refresh Queue to Prevent Concurrent 401s](https://aviralsharma.hashnode.dev/token-refresh-queue-prevent-concurrent-401s?utm_source=hashnode&utm_medium=feed)

Queue failed API calls during a refresh so only one refresh runs, replaying requests after a new access token is issued—no race conditions, no broken dashboards.

7 min read · [aviralsharma.hashnode.dev](https://aviralsharma.hashnode.dev/token-refresh-queue-prevent-concurrent-401s?utm_source=hashnode&utm_medium=feed)

[Mar 16](https://hashnode.com/posts/token-refresh-queue-prevent-concurrent-401s/69b8470d2ad6ae5184da11dc)

### [Stop Breaking React: Why You Should Compute Values Instead of Storing Everything in State](https://aviralsharma.hashnode.dev/stop-breaking-react-why-you-should-compute-values-instead-of-storing-everything-in-state?utm_source=hashnode&utm_medium=feed)

Mastering React State Management for Optimal Performance and Simplicity

6 min read · [aviralsharma.hashnode.dev](https://aviralsharma.hashnode.dev/stop-breaking-react-why-you-should-compute-values-instead-of-storing-everything-in-state?utm_source=hashnode&utm_medium=feed)

[Jun 7, 2025](https://hashnode.com/posts/stop-breaking-react-why-you-should-compute-values-instead-of-storing-everything-in-state/68441c045bc3eed96d34e134)

### [Building a High-Performance Social Media Intelligence Feed: Lessons from the Trenches](https://aviralsharma.hashnode.dev/building-a-high-performance-social-media-intelligence-feed-lessons-from-the-trenches?utm_source=hashnode&utm_medium=feed)

Optimizing Social Media Feeds for Speed and User Experience: A Developer's Guide

7 min read · [aviralsharma.hashnode.dev](https://aviralsharma.hashnode.dev/building-a-high-performance-social-media-intelligence-feed-lessons-from-the-trenches?utm_source=hashnode&utm_medium=feed)

[Mar 18, 2025](https://hashnode.com/posts/building-a-high-performance-social-media-intelligence-feed-lessons-from-the-trenches/67d96e98f2c0eaa25da111eb)

### [Proof of Work vs Proof of Stake](https://aviralsharma.hashnode.dev/proof-of-work-vs-proof-of-stake?utm_source=hashnode&utm_medium=feed)

Comparison of Proof of Work and Proof of Stake consensus mechanisms in blockchain technology, highlighting their benefits and limitations

9 min read · [aviralsharma.hashnode.dev](https://aviralsharma.hashnode.dev/proof-of-work-vs-proof-of-stake?utm_source=hashnode&utm_medium=feed)

[Jul 8, 2024](https://hashnode.com/posts/proof-of-work-vs-proof-of-stake/668c28682f5adb772bd8e10a)
