Piyush NanwaniforAtomxelblog.atomxel.com·Mar 27, 2024The React Hooks you need to knowIn this blog, we'll cover fundamental hooks like useState, useEffect, useRef, and useContext. Then we will talk about custom hooks. React Hooks useState The useState hook allows functional components to manage state. Let's look at a simple example: i...Discuss·1 likeReact
Amrish Pratap Singhblog.amrishpratapsingh.com·Mar 16, 2024Learning ReactJS: 10 Important Topics of ReactJSLearning ReactJS can be both exciting and problematic for newcomers. As someone who has navigated through the maze of React concepts, I'm here to share my insights and experiences to help you master this powerful library. Understanding JSX At the hea...Discuss·36 readsReactJSHashnode
Aaron Jevil Nazarethaarons-space.hashnode.dev·Mar 13, 2024React HooksIntroduction React hooks are an essential part of the react framework, it was developed by facebook in the May 2013. It was made to efficiently update the UI by selectively rendering only the components that had changed, minimizing DOM manipulation a...Discuss·2 likesrectjs hooks
Anshuman Tiwarianshuman-tiwari.hashnode.dev·Mar 11, 2024React Hooks.React Hooks are introduced react 16 with functional component. There are multiple built in react Hooks which we commonly used during application. Let's understand built-in React hook : useState Hook useState is most commonly used hook in a react a...DiscussReactHooks
Soumyadip Duttalofidev.hashnode.dev·Mar 10, 2024Creating a Basic ToDo App in React: Deep Dive into Components, Events, Props, and useState hookReact as we all know is a popular Javascript library being used by major companies for developing applications. Recently I started learning React and I am about one month into it. But this one month of learning has been good and I understand it quite...Discuss·37 readsReact
Sandeep Rajusandeepraju.hashnode.dev·Mar 9, 2024React State Updates - Sync and AsyncIntroduction Have you ever wondered how React keeps track of state updates, especially when you're rapidly clicking buttons to change a counter? Before getting into the code examples, let us demystifying the magic behind the scenes, using a simple an...Discussreact-state
Shashank Rustagishashankrustagi.hashnode.dev·Mar 6, 2024Understanding and Utilizing the useState() Hook in ReactReact, with its component-based architecture, has revolutionized web development and I have been using it for more than an year now!!! One of the most powerful tools in a React developer’s arsenal is the useState() hook. In this blog post, we’ll dive...Discussreact hooks
Tito Adeoyetitoadeoye.hashnode.dev·Feb 18, 2024State Behaves Like a Snapshot! 📸Ever tried to access a state variable in React just after updating it and wondered why you still get the previous value? Yes? Well, by the end of this article, you should understand why this behavior occurs in React and how to work around it. Typical...DiscussReact Hooks Unboxed 📦: A Beginner's Adventure 🚀React
Oyier Oyieroyier.hashnode.dev·Feb 4, 2024Form State Management & Validation in React JS (Part 1): A Native-only ApproachAs a React developer, you will often find yourself grappling with the challenge of implementing effective form validation to ensure data integrity and provide a seamless user experience. While there are numerous popular third-party libraries availabl...Discuss·1 like·60 readsReact
sudheer nunnawiredwhiz.hashnode.dev·Jan 27, 2024React useState VS useReducerReact exposes two hooks for managing state: useState and useReducer. Both of these hooks are used to manage state in a component. The difference between the two is that useState is a hook that is better suited to manage a single piece of state, while...DiscussuseState