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

Rendering messages twice #129

Open
Lagnajit09 opened this issue Feb 25, 2024 · 2 comments
Open

Rendering messages twice #129

Lagnajit09 opened this issue Feb 25, 2024 · 2 comments

Comments

@Lagnajit09
Copy link

Lagnajit09 commented Feb 25, 2024

Hey... great video....
I checked the code line by line.... the difference is i created my react-app using vite@latest
But i replaced my main.js where there was <React.StrictMode> with your index.js
The useEffects are the same as yours.
Can you help me with this?

Screenshot 2024-02-26 012308
Each message i am sending is being sent twice.

@leo-1228
Copy link

leo-1228 commented Jun 3, 2024

did you use socket or http ? This is the why you are getting this issue. let's discuss in more detail on telegram. this is my telegram @leo1228codeforce .

@Lagnajit09
Copy link
Author

Hey thanks for replying.
I used socket for realtime-communication.
Yeah It is fine to discuss it on telegram.

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

2 participants