How React Virtual DOM Works Under the HoodWhen people start learning React, one term appears everywhere: “React uses a Virtual DOM.” But what does that actually mean? Why did React introduce another DOM when browsers already have one? To unMay 8, 2026·5 min read
The `new` Keyword in JavaScriptIn JavaScript, you might have seen new in code like: const user = new User() We use it, but many times we don’t really know what it’s doing internally. It feels like it just creates an object. But acMar 24, 2026·3 min read·3
Spread vs Rest Operators in JavaScriptIn JavaScript, you might have seen these three dots ... Sometimes they behave like magic. Same syntax, but different use. Sometimes it spreads values Sometimes it collects values So what’s actually haMar 24, 2026·3 min read·3
Destructuring in JavaScriptWhen we work with arrays and objects in JavaScript, we often need to take values out of them. Normally we do something like: const user = { name: "Dhiraj", age: 20 } const name = user.name const Mar 24, 2026·3 min read·3
String Polyfills and Common Interview Methods in JavaScriptIn JavaScript we use string methods all the time. includes(), slice(), toUpperCase() we just use them and move on. But in interviews or real problem solving, you might get asked: how does this work inMar 24, 2026·3 min read·3
Map and Set in JavaScriptIn JavaScript, we usually use objects and arrays for most things. Objects for key value data, Arrays for lists But sometimes these are not enough. Like: you want keys that are not just strings you wMar 23, 2026·3 min read·6
Understanding the `this` Keyword in JavaScriptWhen we start writing JavaScript, everything feels simple. Variables, functions, objects all good. Then suddenly we see this. And things start getting confusing. Sometimes it works, sometimes it doesnMar 23, 2026·3 min read·3