Questions

To recap what we have learned in this chapter, try answering the following questions:

  1. How can we extract a custom Hook from existing code?
  2. What is the advantage of creating API Hooks?
  3. When should we extract functionality into a custom Hook?
  4. How do we use custom Hooks?
  5. When should we create local Hooks?
  6. Which interactions between Hooks are possible?
  7. Which library can we use to test Hooks?
  8. How can we test Hook actions?
  9. How can we test contexts?
  10. How can we test asynchronous code?
..................Content has been hidden....................

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