project_chat_application
project_chat_application copied to clipboard
Rendering messages twice
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?
Each message i am sending is being sent twice.
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 .
Hey thanks for replying. I used socket for realtime-communication. Yeah It is fine to discuss it on telegram.