Understanding useRef in ReactA Guide to Managing References Without Re-renders In React, one of the most powerful hooks available is useRef. This hook allows us to persist values between renders without triggering a re-render, making it an essential tool for managing certain typ...3 min read路amanmishra.hashnode.devSep 21, 2024
Controlled Elements in React: A Practical DemoIn React, controlled components are a fundamental concept that allow you to manage the state of form elements through React's state management. This approach ensures that form inputs are controlled by React, making your UI more predictable and easier...3 min read路amanmishra.hashnode.devSep 17, 2024
Understanding State in ReactIn React, state refers to data that a component maintains over time, acting like the component鈥檚 memory. It's essential for storing information that needs to persist throughout the lifecycle of the app. For example, state is used in features like not...3 min read路amanmishra.hashnode.dev1CSep 14, 2024