In order to recap what we have learned in this chapter, try answering the following questions:
- Where can Hooks be called?
- Can we use Hooks in React class components?
- What do we need to watch out for regarding the order of Hooks?
- Can Hooks be called inside conditions, loops, or nested functions?
- What is the naming convention for Hooks?
- How can we automatically enforce the rules of Hooks?
- What is the exhaustive dependencies rule?
- How can we automatically fix linter warnings?