---
title: "Rajat Jain (@rajatexplains) | Hashnode"
description: "Software Engineer II 👨‍💻 at Uber | ex-Microsoft | Javascript ❤️ | Mentor 👨‍🏫 at CodeAsylums | Tech Speaker 🗣️ | React | GraphQL"
url: "https://hashnode.com/@rajatexplains"
---

@rajatexplains

# Rajat Jain

@rajatexplains · Bengaluru, India · Joined August 2020

Software Engineer II 👨‍💻 at Uber | ex-Microsoft | Javascript ❤️ | Mentor 👨‍🏫 at CodeAsylums | Tech Speaker 🗣️ | React | GraphQL

[Website](https://rajatexplains.com/)

### [Concurrency Control with Promises](https://rajatexplains.dev/concurrency-control-with-promises?utm_source=hashnode&utm_medium=feed)

Learn the art of concurrency control in JavaScript Promises and ensure efficient asynchronous execution. Master concurrency in your web apps. 🚀

4 min read · [rajatexplains.dev](https://rajatexplains.dev/concurrency-control-with-promises?utm_source=hashnode&utm_medium=feed)

[Jul 30, 2023](https://hashnode.com/posts/concurrency-control-with-promises/64c602bd6ce8c54240d1aa56)

### [Typescript: Tips and Tricks for Aces](https://rajatexplains.dev/typescript-tips-and-tricks-for-aces?utm_source=hashnode&utm_medium=feed)

Use Typescript to its full potential

4 min read · [rajatexplains.dev](https://rajatexplains.dev/typescript-tips-and-tricks-for-aces?utm_source=hashnode&utm_medium=feed)

[Jul 25, 2023](https://hashnode.com/posts/typescript-tips-and-tricks-for-aces/64c025cdf78ae4d94a6f8103)

### [Page visibility API to the rescue](https://rajatexplains.dev/page-visibility-api-to-the-rescue?utm_source=hashnode&utm_medium=feed)

I want to pause videos, image carousels, or animations when the user leaves the page. Page Visibility API lets you know when a user has left the page

4 min read · [rajatexplains.dev](https://rajatexplains.dev/page-visibility-api-to-the-rescue?utm_source=hashnode&utm_medium=feed)

[Dec 23, 2022](https://hashnode.com/posts/page-visibility-api-to-the-rescue/63a555da3916c9c9a801f534)

### [Make your async functions fast](https://rajatexplains.dev/make-your-async-functions-fast?utm_source=hashnode&utm_medium=feed)

Async Await can be slow. To enhance their performance, we can use different techniques with Promises like using Promise.all

6 min read · [rajatexplains.dev](https://rajatexplains.dev/make-your-async-functions-fast?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/make-your-async-functions-fast/631967465abe8613b3d2fec4) [Sep 8, 2022](https://hashnode.com/posts/make-your-async-functions-fast/631967465abe8613b3d2fec4)

### [Design an LRU cache](https://rajatexplains.dev/design-an-lru-cache?utm_source=hashnode&utm_medium=feed)

LRU (Least Recently Used) is a cache replacement algorithm that removes the least recently used data in order to make room for new data. Implement LRU cache

4 min read · [rajatexplains.dev](https://rajatexplains.dev/design-an-lru-cache?utm_source=hashnode&utm_medium=feed)

[Mar 17, 2022](https://hashnode.com/posts/design-an-lru-cache/62337d7abef4c71aa6f0ced8)
