Skip to content
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

Users not being displayed #1

Open
yashcrest opened this issue Jun 18, 2024 · 0 comments
Open

Users not being displayed #1

yashcrest opened this issue Jun 18, 2024 · 0 comments

Comments

@yashcrest
Copy link

yashcrest commented Jun 18, 2024

Hi,

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.

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant