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()

This week on: When dev's try to get too clever

0 reposts0 likes

No replies yet.