yashrajxdev.blogArrays and Tuple in PythonAn array is a continuous block of memory used to store similar or structured data. Arrays allow easy and fast access to elements using an index, which makes them one of the most important data structu7h ago·4 min read
yashrajxdev.blogStrings in PythonIn Python, strings are immutable. This means once a string is created, it cannot be changed. Example: s = "python" s[0] = "P" # ❌ This will give an error You cannot modify a character directly ins21h ago·2 min read
yashrajxdev.blogPython for DSAIntroduction DSA (Data Structures and Algorithms) is one of the most important subjects to learn as a coder or software engineer. Most companies test DSA concepts during technical interviews. In real-world jobs, you may not directly implement complex...3d ago·3 min read
yashrajxdev.blogHow to Use useRef for Managing Mutable Values Without Re-rendersIf you've spent any time working with React hooks, you've probably encountered situations where you need to store a value that persists across renders but doesn't need to trigger a re-render when it changes. That's exactly where useRef shines, and un...Jan 27·7 min read
yashrajxdev.bloguseRef Explained: Handling DOM Elements in ReactIntroduction In React's declarative world, we typically let React handle DOM updates. However, there are times when you need to directly interact with DOM elements—focusing an input field, measuring an element's dimensions, or integrating with third-...Jan 24·5 min read