Home » IT Education
Getting Started with Redux
And when clicking on the logo, it calls one of the start or stop actions. So, the reducer will receive both of our actions, both of which are of type rotate, and they both change the same state in the app — which is state.rotating. Based on the payload of these actions, state.rotating will change into true or false. So, we are going why redux to say to our reducer...