Report Bug

QusWhat is the role of a reducer in React? QusWhat is the role of a reducer in React?


A. It defines the initial state of a component
B. It determines the rendering of a component
C. It specifies the action types for handling user interactions
D. It manages the state transitions of a component based on dispatched actions


Solution
D. It manages the state transitions of a component based on dispatched actions



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad