So, create-react-app got started, testing environment is set up, directory is organized. Time to write more code than just test placeholder files.
It’s been over a month. so my memory of Redux is a bit blurry – but it’s ok, redux.js.org to the rescue! Reading their Todo List example and some of my old codes jogged my memory.
Here is the latest directory structure, with all the new files in. At the right is the current state of action creator, action.js.
There is also a basic combineReducer in reducers/index.js. So far, the test file just check that the files in the components are outputting div. For now, I am mostly just setting up some empty functions.