Semrush interview question

How would you use useEffect and useRef hooks?