nishi-can-code.hashnode.devReturn an index of an elementWelcome back ! without wasting time let us focus on problem. → Given an array and number (n). You have to find the (the index of an element) in it and return it. If number is not present in an array then it should return -1 Now let’s break problems ...Aug 15, 2025·4 min read
nishi-write-code.hashnode.devCompound ComponentsCompound components are one of the most powerful and elegant patterns in React. They allow developers to build complex, flexible UI elements with a clean and intuitive API. If you've ever felt the pain of managing state across different components or...Jul 11, 2025·3 min read
nishi-can-code.hashnode.devDon't Let AI Derail Your Next Project's PRThere is no denying AI's potential to simplify communications and project management. But are we ignoring a serious risk to the public perception of our project in our haste to implement the newest technology? It's time to have a critical discussion ...Jun 26, 2025·2 min read
nishi-can-code.hashnode.devuseState in React: Why Your Variable Stays the Same (and How to Fix It)Beginner's Guide to useState I won’t lie, it took me 4 days to thoroughly understand the useState hook. It's one of the first and most fundamental concepts in React, but it can be tricky. If you've ever felt that frustration, this post is for you. We...Jun 24, 2025·6 min read
nishi-can-code.hashnode.devFrameworks vs Libraries: Key Differences Every Developer Must KnowIn the world of software development, the terms "library" and "framework" are used so frequently they can almost seem interchangeable. Both offer pre-written code to make a developer's life easier, helping to build complex applications faster and mor...Jun 23, 2025·4 min read