Using React, i have a list of ref statically declared this way:
let line1 = useRef(null); let line2 = useRef(null); let line3 = useRef(null); ... //