B4Coder
0%
LessonAbout 7 min

Chapter 10 · Lesson 3 of 5

03. Your own hooks

A custom hook is a function whose name starts with use, which calls other hooks. Write the logic once, and use it in as many components as you like.

Opening the lesson…