What is a Hook? Think of a hook as a toolbox. When you need to fix something, you open the toolbox and pick out the tools you need. Similarly, when you need to manage state or perform a side effect, you use a hook. Therefore : A hook is a function th...

Markdown supported · ⌘↵ to post
No responses yet.