4.1 Redux

//action typeconst ADD_TODO = 'ADD_TODO';
//action creator, semantic methods that create actions//collected together in a module to become an APIfunctionaddTodoAction(title, hour) {
//action, an object with a type property and new data, like eventsreturn {type: ADD_TODO, title, hour}
}