Aryan kadamaryankadam.hashnode.dev·Apr 19, 2024React JS Beginner to Advanced series (4)Before diving into this blog, make sure you've checked out the previous blogs in this series on my profile: ReactJS Beginner to Advanced Series These blogs will provide you with essential knowledge and context for understanding the concepts discussed...DiscussReact
Velia Preciousveekeme.hashnode.dev·Mar 31, 2024FeaturedUnderstanding State Management in React: useState and useContextHave you ever marveled at how clicking a button on a website magically increments a counter or changes the button's color? That's the magic of state at play. In this article, we will explore the exciting world of state management in React. Whether yo...Discuss·30 likes·446 readswriting
Abhrajit Guptaabhrajitgupta.hashnode.dev·Mar 30, 2024Miscellaneous HooksIn this article, we'll explore three hooks: useContext, useMemo, and useCallback, along with simple examples demonstrating their usage. useContext hook: The useContext hook allows components to consume values from the React context without having to ...Discuss·16 likes·49 readsuseCallback
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
Piyush NanwaniforAtomxelblog.atomxel.com·Mar 20, 2024Mastering State Management in ReactIn this blog, we'll explore various state management strategies, covering prop drilling, the useContext hook, useReducer, and popular state management libraries. Prop Drilling Prop drilling refers to the process of passing down props through multiple...Discuss·26 readsreact js
Rahul Kumarrahul319.hashnode.dev·Mar 7, 2024Props, props drilling and useContext HookWhat is Props? Props stands for properties. Props are used to transferdata from one component to other another. Props are read-only. Props are just like a function in JavaScript. Example of Props: App.jsx import React from 'react'; import './Ap...DiscussReact
Sharannsharann.hashnode.dev·Jan 15, 2024Getting Started with React Hooks: A Simple Guide to useState, useEffect, and useContextWhat are Hooks in React? In React, hooks are functions that enable the utilization of state and other React features within functional components. Hooks were integrated into React in version 16.8. Prior to the introduction of Hooks, the utilization o...Discuss·76 readsReact
Anjaliwhatanjali.hashnode.dev·Jan 14, 2024Understanding Context API in ReactHey👋Devs, Well, we all know that while developing any application there is always a need to pass some data across different application levels. React Context API, which was introduced in React v.16.3, provides us the ability to pass data through the...Discuss·3 likes·59 readscontext API
Sourabh Bhattsourbhatt.hashnode.dev·Jan 13, 2024Simplified State Management in React: Understanding Context API and Practical Use of useContextIntroduction React Context API serves as a vital tool for managing state in React applications, allowing efficient data sharing between components. In this blog post, we'll explore the implementation of React Context API using a real-world example an...Discuss·11 likes·32 readsReact
David Ajiboladavidts.hashnode.dev·Jan 8, 2024Custom hooks, Use Context, and States in ReactLet's get into it One time, I ran into a problem in my React project and was working on it for a while. I thought my code looked perfect; I rechecked it again and again but was still surprised why my state was changing in Component A but wasn't chang...Discuss·13 likesReact