Any thoughts on what I can do if I have a variable number of sections to watch? I can't run useRef in a loop (it's against the "rules of hooks").
Any thoughts on what I can do if I have a variable number of sections to watch?
I can't run useRef in a loop (it's against the "rules of hooks").