1. 6
    Redux: Store Methods: getState(), dispatch(), and subscribe()
    3m 9s

Redux: Store Methods: getState(), dispatch(), and subscribe()

Dan Abramov
InstructorDan Abramov

Share this video with your friends

Send Tweet

We will learn about the Redux Store and demonstrate how its three methods let us implement a counter application.

xiao
xiao
~ 4 years ago

just to clarify, is the state being stored in the "store" instance?

Inrhythm
Inrhythm
~ 4 years ago

Nice explanation as i understand reducer accept two parameter one is action and other one is state but here in dispatch we just send one object of action type so from where it get state?

Ajay K
Ajay K
~ 4 years ago

If anyone tried increment and decrement operator and saw that it didn't work .. its because of : The increment ++ operator doesn't work for setting react state