-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Previous chat #5
Comments
Setup a database. like MongoDB or SQL. Push the chat (history) to the database. When a new user joins the chat/channel. You send a query to get the previous chat(history) from the database. I.m.o best option. you can view chats from weeks/months ago. |
abhinavsharma629
added a commit
to abhinavsharma629/ReactJS-Realtime-Chat
that referenced
this issue
Oct 7, 2019
Can anyone please review this PR and close the issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First off let me just say great example of integrating react & socket.io . I have a question. When a new user joins the chat, they don't see the previous chat history. Is there a way of pass the previous chat history to the new user, when he joins the chat?
The text was updated successfully, but these errors were encountered: