Building Applications with React and Redux in ES6
yarn install
yarn start -s
Hey CourseAction, someone clicked this "Save Course" button.
Thanks React! I will dispatch an action so reducers that care can update the state.
Ah, thanks action. I see you passed me the current state and the action to perform. I'll make a new copy of the state and return it.
Thanks for updating the state reducer. I'll make sure that all connected components are aware.
Woah, thanks for the new data Mr. Store. I'll now intelligently determine if I should tell React about this change so that it only has to bother with updating the UI when necessary.
Ooo! Shiny new data has been passed down via props from the store! I'll update the UI to reflect this!