Chapter 1
Up and Running with Redux
Section 9
Understanding createStore() and reducers
Making some changes in the example by adding a default state as a second parameter in the createStore function. - Move the whole code from the html file script tag into a separate file - Change the implementation of reducer to use switch instead of if/else - Make some more changes into the reducers by accepting the default state from store instead of default param