Vitthal Korvanvitthal-korvan.hashnode.dev·Oct 16, 2024React JS - Reducers And Context APIuseReducer what is useReducer useReducer is like a "state manager" that breaks down the state-changing process into three main parts: State: This is the current state (or the current values/data in your app). Action: This is what triggers a change ...Discuss·2 likesReact-MasteryuseReducer
Yusuf Uysalyusufuysal.hashnode.dev·Oct 1, 2024React Interview Questions (Part 3): State ManagementWhat is state in React, and how is it different from props? In React, state refers to the internal data or values that a component manages and can change over time. Each component maintains its own state, and changes to the state trigger re-renders t...DiscussReact Interview QuestionsReact
Yahya Dahiryahyadahir.hashnode.dev·Sep 12, 2024Managing State in React Without Redux: Simpler and Smarter AlternativesIf you have worked with React before, you‘ve probably heard of Redux. It’s a state management tool that helps keep track of data ( or “state” ) in your React apps. While Redux is a powerful, it can feel a bit heavy, especially for smaller projects or...Discuss·1 likeNext.js
Animesh Kumaranimeshk.hashnode.dev·Jul 7, 2024Understanding React HooksReact Hooks are a powerful feature that allows you to use state and other React features without writing a class. Introduced in React 16.8, hooks have changed how we write React applications by making code simpler and more readable. In this blog, we ...Discuss·10 likesReact
Rahul Dasurahuldasu.hashnode.dev·Jul 6, 2024Unleashing the Power of useReducer in React: A Simple Counter ExampleWhen building React applications, managing state efficiently is crucial for creating interactive and responsive user interfaces. While the useState hook is commonly used for handling simple state transitions, the useReducer hook provides a more robus...DiscussuseReducer
Abeer Abdul Ahadabeer.hashnode.dev·Jun 12, 2024Crucial React Hooks That Are Less UnderstoodIntroduction As React has become the top choice for building web applications, it's important to master all the concepts and topics that makes learning react incomplete without. If you have ever studied react for at least once, I am sure you know tha...Discuss·28 readsReactReact
Moniquectrlaltmonique.hashnode.dev·Jun 7, 2024Type-Safe State Management with React's Built In HooksOccasionally, resorting to an external state manager in our React projects might feel like bringing a bazooka to a knife fight—effective, but perhaps a bit excessive. Often, what we truly seek is a means to store our global state outside individual c...DiscussuseContext
Ajay lovingit.hashnode.dev·May 20, 2024Getting Started with React's UseReducer Hook.If you are getting started with react, there is almost 100% chance that you are practicing React with hooks. (The 100% stat i just made up :D,but i feel strongly this could be true) . And in all Fairness,the simple good "useState" hook will manage yo...Discuss·2 likesReact
Aryan kadamaryankadam.hashnode.dev·Apr 29, 2024React JS Beginner to Advanced series (5)Before diving into this blog, make sure you've checked out the part-1 of this blog in this series on my profile: ReactJS Beginner to Advanced Series That blog will provide you with essential knowledge and context for understanding the concepts discu...DiscussReact
Ugne Adomaityteugneadomaityte.hashnode.dev·Apr 22, 2024State Management in React with useReducerWhen dealing with complex state logic in components, it can get quite messy when using useState hook, so it’s not the best solution to use it in cases like these. useReducer is a much better tool to deal with states in complex components, it is a str...DiscussuseReducer