---
title: "Aditya Prabhat (@adityaprabhat) | Hashnode"
description: "Aditya Prabhat (@adityaprabhat) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@adityaprabhat"
---

@adityaprabhat

# Aditya Prabhat

@adityaprabhat · Manipal · Joined May 2021

### [React Fiber, Reconciliation and Virtual DOM](https://adityaprabhat.hashnode.dev/react-fiber-reconciliation-and-virtual-dom?utm_source=hashnode&utm_medium=feed)

Virtual DOM React components are created using JSX, but the browser has no clue what it is. Browsers only understand plain JavaScript, so somehow JSX will have to be transformed into it. Consider this JSX that is returned from a component. return (...

12 min read · [adityaprabhat.hashnode.dev](https://adityaprabhat.hashnode.dev/react-fiber-reconciliation-and-virtual-dom?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/react-fiber-reconciliation-and-virtual-dom/6264bd600f819f588af76d90) [Apr 24, 2022](https://hashnode.com/posts/react-fiber-reconciliation-and-virtual-dom/6264bd600f819f588af76d90)

### [Using setTimeout over setInterval](https://adityaprabhat.hashnode.dev/using-settimeout-over-setinterval?utm_source=hashnode&utm_medium=feed)

What if you need a function that makes an ajax request repeatedly after a specific time interval? What would you do? Writing a setInterval(callback, delay) would seem to be the ideal way, right? But there’s a problem. function serverFetch() { setTi...

1 min read · [adityaprabhat.hashnode.dev](https://adityaprabhat.hashnode.dev/using-settimeout-over-setinterval?utm_source=hashnode&utm_medium=feed)

[Mar 24, 2022](https://hashnode.com/posts/using-settimeout-over-setinterval/623c8215b6813c8a18c2035e)

### [Event Loop and asynchrony in JavaScript](https://adityaprabhat.hashnode.dev/event-loop-and-asynchrony-in-javascript?utm_source=hashnode&utm_medium=feed)

The below image is a very simplified view of the JS engine. It has two components: Memory heap – This is where memory allocation takes place. Call Stack – It’s a stack that keeps track of the function in the script that’s currently executing and ...

7 min read · [adityaprabhat.hashnode.dev](https://adityaprabhat.hashnode.dev/event-loop-and-asynchrony-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 13, 2022](https://hashnode.com/posts/event-loop-and-asynchrony-in-javascript/622de4a4df08b9b823418e3c)

### [Callbacks in JavaScript](https://adityaprabhat.hashnode.dev/callbacks-in-javascript?utm_source=hashnode&utm_medium=feed)

What is a callback function A callback function is a function that is passed as an argument into another function and invoked by the outer function either synchronously or asynchronously. Need of callback function JavaScript is a single-threaded lang...

4 min read · [adityaprabhat.hashnode.dev](https://adityaprabhat.hashnode.dev/callbacks-in-javascript?utm_source=hashnode&utm_medium=feed)

[Mar 6, 2022](https://hashnode.com/posts/callbacks-in-javascript/6224ae4decb2d35f765e4253)

### [Routing in Single Page Application](https://adityaprabhat.hashnode.dev/routing-in-single-page-application?utm_source=hashnode&utm_medium=feed)

SPA routing using Vanilla JS

7 min read · [adityaprabhat.hashnode.dev](https://adityaprabhat.hashnode.dev/routing-in-single-page-application?utm_source=hashnode&utm_medium=feed)

[May 30, 2021](https://hashnode.com/posts/routing-in-single-page-application/60b368c4fb51fd32a4dc2963)
