Designing a Type-Safe, Reusable Pill Selector in React NativeWhen designing mobile experiences, components like pill selectors (those horizontally scrollable button sets) are a staple — especially in apps with filtering, tab-like controls, or category selection. In this post, I’ll walk you through how I approa...May 18, 2025 · 3 min readharshm09.hashnode.dev
Difference between types of equality operators in JavaScriptEquality operators in JavaScript There are two types of equality operators in JavaScript. Loose Equality Operator (==) Strict Equality Operator (===) Before trying to understand the working of these operators, you need to have a basic knowledge o...3AJAFeb 15, 2023 · 3 min readharshm09.hashnode.dev
Why does console.log() return ‘undefined’?What is weird with console.log()? You would have noticed while using your browser's console that something strange happens when you console.log() something. You get two return values as shown below. The first value "Chandler" printed is as we expect...3SHAFeb 14, 2023 · 5 min readharshm09.hashnode.dev
Higher Order functions in JavaScript - A brief introductionWhat are Higher-Order functions? In JavaScript, functions are treated as first-class citizens, which means behind the scenes they are just another object. This feature enables the use of functions just like any other variable. A higher-order function...1KHFeb 4, 2023 · 4 min readharshm09.hashnode.dev