arrow_backBACK TO DRILLS
Blue Beltcustom-hooks
useEffect dependency on event handlers
“A custom Hook accepts an onReceiveMessage callback and includes it in a useEffect dependency array that creates a chat connection. The parent component passes an inline function on every render. What behavior is most likely?”