You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
All messages sent and received are saved in the MongoDB database, however, they are currently not displayed when the app opens.
Why is this needed:
We need that when the app opens, send an event to the server (through socket.io), and the server responds with the old messages saved in the database. Then the React app can render them on the screen, just like any messaging app.
Is your enhancement request related to a problem? Please describe.
It is frustrating when you send many messages and restart the app and see that they are not there, even being saved in the database.
It would be even better if the server returned a limited number of messages (for example, 20), and loaded more as the user scrolled through the app. That is, an infinite loading. But that could be an improvement for an upcoming release.
The text was updated successfully, but these errors were encountered:
What would you like to be added:
All messages sent and received are saved in the MongoDB database, however, they are currently not displayed when the app opens.
Why is this needed:
We need that when the app opens, send an event to the server (through socket.io), and the server responds with the old messages saved in the database. Then the React app can render them on the screen, just like any messaging app.
Is your enhancement request related to a problem? Please describe.
It is frustrating when you send many messages and restart the app and see that they are not there, even being saved in the database.
It would be even better if the server returned a limited number of messages (for example, 20), and loaded more as the user scrolled through the app. That is, an infinite loading. But that could be an improvement for an upcoming release.
The text was updated successfully, but these errors were encountered: