harshad dhongadereactinstall.hashnode.dev·Oct 26, 2024A Complete Guide to React Hooks: Everything You Need to KnowIntroduction to React Hooks React Hooks, introduced in version 16.8, transformed the way we manage state and lifecycle in functional components. Before their arrival, class components were the go-to for handling these features, often resulting in mor...1 likeReact Functional Components
SB'Techsharesbtechshare.hashnode.dev·Sep 16, 2024State Management in React: When to Use Context API vs. ReduxIntroduction As React applications grow in complexity, managing state becomes increasingly challenging. Two popular solutions for state management in React are the Context API and Redux. But how do you decide which one to use? In this blog post, we’l...State Management
Sazzadur Rahmansazzadur.hashnode.dev·Jul 28, 2024How to Create a Custom React Hook for LocalStorage Using React ContextManaging local storage in React applications can become cumbersome, especially when you need to synchronize data across multiple components. By creating a custom hook combined with React Context, you can simplify this process and make your code more ...1 like·35 readsReact
ByteScrum TechnologiesforByteScrum Technologiesblog.bytescrum.com·Jul 9, 2024Understanding Context API in React: Managing State EfficientlyState management is a fundamental aspect of building React applications. As your application grows, passing props through multiple levels of components can become cumbersome and lead to what's known as "prop drilling." The Context API, introduced in ...27 readsReact
Sumit Sonawanesumitrsblog.hashnode.dev·Jun 23, 2024React Context APIThe Challenge of Sharing Data in React In React, passing data from one component to another is a common task. Traditionally, this has been done using props, where a parent component passes data down to its children. However, as your application grows...29 readsReact
Bidyasagar mohapatraforSCSE KnowledgeHubscsenitjsr.hashnode.dev·Apr 11, 2024Context API in React: Your Secret Weapon for Global StateThe Context API is a part of React, a popular JavaScript library for building user interfaces, that provides a way to manage and share state and data across components in an efficient and organized manner. It helps solve the problem of “prop drilling...1 likeReact
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...3 likes·82 readscontext API
Ishikha raoishikarao.hashnode.dev·Jan 10, 2024React Context API- A Complete GuideKey Takeaways In this article, we will learn more about React context API. You will also see brief information on how the Context API works We will discuss why the Context API is needed. Also, learn how the Context API is used. Conext API is a ...React
Koushik Roykoushikroy.hashnode.dev·Oct 20, 2023React Context API with TypeScriptCreating a Context and Provider To start using the React Context API, we need to create a context using the createContext method: The Provider component is responsible for wrapping the part of the component tree where we want to make the context data...React
Koushik Roykoushikroy.hashnode.dev·Oct 18, 2023React Context APIUnderstanding the React Context API React, one of the most popular JavaScript libraries for building user interfaces is known for its component-based architecture. However, as applications grow in complexity, managing state across components can beco...React