Nick
Results
2
issues of
Nick
I like this hook a lot, but I need to separate sendable and receivable events, so I don't like having to do this: ```jsx const { sendMessage } = useSocketEvent('sendable-event');...
It looks like it would be fairly simple to add callback support to the `useSocketEvent` hook. The API would then support something like this: ```jsx useSocketEvent('name-of-event', (response) => handleResponse(response)); ```...