Post

This is the craziest hook I’ve ever seen const [ref1, ref2, ref3] = useMultipleRefs() The hook returns an iterator - destructuring calls the iterator - on each iteration, the hook returns a useRef()

No replies yet.