After developing our own blog application using the State Hook, we are now going to learn about two other very important Hooks that are provided by React: the Reducer and Effect Hooks. We are first going to learn when we should use a Reducer Hook instead of a State Hook. Then, we learn how to turn an existing State Hook into a Reducer Hook in order to get a grasp on the concept in practice. Next, we are going to learn about Effect Hooks and what they are used for. Finally, we are going to implement them in our blog application.
The following topics will be covered in this chapter:
- Learning about the differences between Reducer Hooks and State Hooks
- Implementing Reducer Hooks in our blog app
- Using Effect Hooks in our blog app