NANasir Ahmedinblog.hellonasir.dev·Feb 17 · 3 min readJavaScript Hoisting ExplainedHoisting is one of the most misunderstood concepts in JavaScript. Many developers think JavaScript “moves variables and functions to the top of the file.” That explanation is convenient—but technically wrong. In this article, we’ll break down what ac...00
NANasir Ahmedinblog.hellonasir.dev·May 28, 2025 · 2 min readref.current : Why is often null?When working with React, especially when using refs, many developers run into this common issue: "Why is ref.current null even though I just attached it to a DOM element?" Let’s clear up the confusion by understanding how React updates the UI in tw...00
NANasir Ahmedinblog.hellonasir.dev·Dec 31, 2024 · 1 min readDon't mess with JavascriptJavascript; the ultimate game changer. JavaScript has emerged as the ultimate game-changer in the world of technology, revolutionizing how we interact with the web and shaping the digital landscape in unprecedented ways. Introduced in 1995, JavaScrip...00