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
I really like how you have implemented RTK query for making backend requests and have utilised RTK's onCacheEntryAdded and onQueryStarted to get real time updates on chat app. However, while checking deployed version of your app, I am not able to see any users listed there; I wanted to see if the real time messages are being received as intended in your app.
I have implemented a similar approach on my app but have been struggling to get it working as the sent messages are only seen by the receiver if they refresh the page. I am guessing my implementation of updating the cache data is not right.
Hi,
I really like how you have implemented RTK query for making backend requests and have utilised RTK's
onCacheEntryAdded
andonQueryStarted
to get real time updates on chat app. However, while checking deployed version of your app, I am not able to see any users listed there; I wanted to see if the real time messages are being received as intended in your app.I have implemented a similar approach on my app but have been struggling to get it working as the sent messages are only seen by the receiver if they refresh the page. I am guessing my implementation of updating the cache data is not right.
Here is the link to my code: https://github.com/yashcrest/MERN-CHAT-APP
I would really appreciate if I can get help on this. :)
The text was updated successfully, but these errors were encountered: