This repo was refactored to use Redux and utilize createStore, combineReducers, useSelector, and useDispatch. A second reducer was created to incorporate comments capability.
This repo utilizes a reducer to create and delete blog posts. Two actions are stored and imported to the reducer. Using the Context object, a Provider component is wrapped around App to leverage global state. Hooks are used to hold state locally on the PostForm component.