In order to recap what we have learned in this chapter, try to answer the following questions:
- What are the common problems with State Hooks?
- What are actions?
- What are reducers?
- When should we use a Reducer Hook instead of a State Hook?
- Which steps are needed in order to turn a State Hook into a Reducer Hook?
- How can we create actions more easily?
- When should we merge Reducer Hooks?
- What do we need to watch out for when merging Reducer Hooks?
- What is the equivalent of an Effect Hook in class components?
- What are the advantages of using an Effect Hook, versus class components?