I'm building an app where users can chat with each other, so I want to know what packages are good for such needs. Please only include free sources even if they have limited user count.
I'm using React and Express.
CodePudding user response:
I would suggest you use socket.io. It provides real-time bi-directional communication and has official client libraries for most platforms. Socket.io Official Site
CodePudding user response:
I'd like to recommend you my two libraries:
React UI chat components: https://github.com/chatscope/chat-ui-kit-react
Headless chat hook (state management): https://github.com/chatscope/use-chat
Both are proven in production applications.
To communicate with the server, I recommend https://socket.io/
Also, this answer can be helpful: Building a Live Chat Widget from Scratch using React