Jacob Paris@jacobparis.com11 Nov 2024This 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()91178
Ryan Shaul@shaul.ioThis week on: When dev's try to get too clever11/11/24, 11:42 pm·0 reposts·0 likes