Writing
My Diary
Personal notes, engineering deep dives, and daily developer diary.
how 'this' behaves in the call, bind, apply
**a brief intro of this with call, bind and apply**
What Really Happens When You Call setTimeout()?
A Deep Dive from JavaScript to Hardware Every JavaScript developer has used setTimeout. It's one of the first async concepts we learn. But have you ever won...
Confusion will be gone about 'this'
Most confusion about `this` comes from one wrong assumption: that it's decided by where a function is **written**. It isn't. `this` is decided by how the function is **called**.
Is Your React App Slow Because of Keys? Check Again!
If you’ve worked with React, you’ve probably seen this warning at least once: Warning: Each child in a list should have a unique "key" prop. And you p...
Understanding React’s Virtual DOM: The Secret Behind Lightning-Fast UIs
How React updates your apps in milliseconds, not seconds The Problem: Why DOM Updates Are Slow Imagine you’re building a social media feed. Every like, comment,...
A Beginner’s Journey to Logistic Regression with Python: Code and Concepts
Introduction to Logistic Regression Logistic regression is a fundamental machine learning algorithm used for binary classification tasks. Unlike linear regressi...