Solving Prop Drilling in ReactJs Using The Context APIUnderstanding Prop Drilling: Prop drilling is a common challenge faced by React developers. Prop drilling occurs when props needs to be passed down through multiple layers of components, even if some of those components don't directly use the props.T...Apr 30, 2024 · 3 min readiyanucodes.hashnode.dev
Short-Circuiting the && (AND) and || (OR) operatorShort-circuiting is a feature of the logical operators && (AND) and || (OR) that allows them to return a value without evaluating the whole expression. This can improve the efficiency and speed of evaluating a condition or expression. In JavaScript w...Dec 4, 2023 · 2 min readiyanucodes.hashnode.dev
Type Conversion And Coersion In JavscriptUnderstanding conversion and coercion in JavaScript can be confusing for beginners who are newly learning the language. However, it is important to understand how these concepts work as they are crucial for writing robust and reliable JavaScript code...Jul 27, 2023 · 4 min readiyanucodes.hashnode.dev
How to Remove Duplicates from an Array using .includes() and a for...of LoopArrays are a fundamental data structure in JavaScript that allows developers to store and manipulate collections of values. However, when working with arrays, it's common to encounter duplicates that need to be removed to perform operations such as f...2I-Mar 1, 2023 · 3 min readiyanucodes.hashnode.dev