Redux demystified - 2: combineReducers
Understand how redux deals with multiple reducers and the implementation of combineReducers method

Search for a command to run...
Articles tagged with #reactjs
Understand how redux deals with multiple reducers and the implementation of combineReducers method

Understand how exactly redux works, along with the implementation of the createStore method

This is a beginner-friendly post explaining the use of useEffect hook in React. There are three phases of a React component, Mounting: When the component has rendered for the first time Updating: When the component has re-rendered due to a state cha...

Generally when a React Developer is asked, 'what are the advantages of hooks or why hooks were introduced?', the most common answer would be: "So that we can have state in functional components". Even I used to give the same answer before I knew bett...

Why do we need to optimize React components? It is needed because of how React Reconciliation updates the virtual DOM. React uses BFS algorithm to check if a node needs to be replaced in virtual DOM, where each node is an element. Now the diffing alg...

Recently I was building a React Web App for my side project and wanted a toggle/collapsable component. So like a caveman I planned to add an "onclick" event listener on the title div and add an arrow to the title using "::before" in the title CSS. Th...