I love reading blogs more than I like writing blogs. If I find a topic that grabs my attention, I dig deeper, and in the process of jotting down my thoughts I end up writing a blog.
Render Reconciliation React
Mar 10, 2022 - 4 min read
One of the reasons React is so popular is that it's blazing fast. This speed is achieved by updating only part of the real DOM that has changed. But, updating the real DOM is a slow process.So, how does React achieve this? React achieves this using virtual DOM...
Debouncing and Throttling
May 11, 2022 - 4 min read
Javascript is a single-threaded interpreted language with a non-blocking event loop. What this means is that everything runs on a single main thread so it's important to use the thread only when required.Blocking this main thread means subsequent operations have to wait till the main thread is clear, this may result in performance issues...
Event Propagation in JavaScript
May 12, 2022 - 5 min read
An event travels or propagates through the DOM tree, this is called Event propagation.This can happen in 2 ways - Top to bottom or Bottom to Top. We will discuss when to use what and how to optimize performance using these techniques...