Buildots interview question

How would you implement a custom useHover hook?