Questions

In order to recap what we have learned in this chapter, try to answer the following questions:

  1. What are the common problems with State Hooks?
  2. What are actions?
  3. What are reducers?
  4. When should we use a Reducer Hook instead of a State Hook?
  5. Which steps are needed in order to turn a State Hook into a Reducer Hook?
  6. How can we create actions more easily?
  7. When should we merge Reducer Hooks?
  8. What do we need to watch out for when merging Reducer Hooks?
  9. What is the equivalent of an Effect Hook in class components?
  10. What are the advantages of using an Effect Hook, versus class components?
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.66.13