Define Oxidizer and Reducer with examples
Answers
Explanation:
an oxidizing agent (oxidant, oxidizer), or oxidising agent (oxidiser) is a substance that has the ability to oxidize other substances — in other words to accept their electrons. Common oxidizingagents are oxygen, hydrogen peroxide and the halogens
.A reducer is a function that determines changes to an application's state. It uses the action it receives to determine this change. We have tools, like Redux, that help manage an application's state changes in a single store so that they behave consistently
Oxidizer: An oxidizing agent (oxidant, oxidizer), or oxidising agent (oxidiser) is a substance that has the ability to oxidize other substances — in other words to accept their electrons. Common oxidizing agents are oxygen, hydrogen peroxide and the halogens.
Example: Oxidizers include organic peroxides, such as benzoyl peroxide, and other types of oxidizers, such as concentrated nitric acid, sodium hypochlorite (also known as bleach), oxygen, concentrated or heated perchloric acid, concentrated sulfuric acid, and concentrated hydrogen peroxide.
Reducer: A substance capable of bringing about the reduction of another substance as it itself is oxidized; used in photography to lessen the density of a negative or print by oxidizing some of the loose silver. synonyms: reducing agent, reductant.
Example: UseReducer is one of a handful of React hooks that shipped in React 16.7. 0. It accepts a reducer function with the application initial state, returns the current application state, then dispatches a function.