LessonAbout 8 minLesson languageEnglishதமிழ் (Tamil)हिन्दी (Hindi)മലയാളം (Malayalam)తెలుగు (Telugu)ಕನ್ನಡ (Kannada)বাংলা (Bengali)मराठी (Marathi)ગુજરાતી (Gujarati)ਪੰਜਾਬੀ (Punjabi)Chapter 10 · Lesson 4 of 504. A custom hook with an effectCustom hooks can hold effects too: a timer with its cleanup, written once in a hook, and used by any component with one line.