use-chat icon indicating copy to clipboard operation
use-chat copied to clipboard

React hook for state management in chat applications.

Results 9 use-chat issues
Sort by recently updated
recently updated
newest added

Hello! Your work is awesome, but could you please provide an example of how an integration between this hook with socket.io server?

Prepare documentation. If you are interested in this library and need more documentation, please let me know by adding one of the positive reactions (+1, Heart, Rocket) to this issue...

documentation

We need to add metada to messages, so we can use it in the frontend for custom styling, for example. Is it possible? If not, do you think that it...

enhancement

If a message fails to send it would make sense to have a status to reflect that.

enhancement

Hi, many thanks for the library, it's great! I am having an issue when I need to do other actions rather than adding a message in ChatService. In particular, I...

question

Is it expected that to do something like this this one would subclass `BasicStorage`, or should an app/adapter be able to acheive this from outside?

I updated several parts of the README for readability and flow.

I am looking at BasicStorage. We add and publish messages with addMessage and use MessageIdGenerator internally, but we sometimes ask the server to issue message IDs. It would be helpful...

enhancement

he current peerDependencies configuration for React in this project is outdated and does not support the latest version of React (18.3.1). This is causing warnings and potential compatibility issues when...