Open janetscanlon opened 1 week ago
update on this!
I made some good progress, and live chat works now on my branch. I'm working through why when the user sends a message, the user receiving the message gets a duplicate of the message.
Note: Not currently worried about the initial fetch of the persistent messages from the db
server code:
Client side:
The INSERT INTO query runs successfully and only inserts into the table once
Description
Your Real Name
Janet
What do you want to happen? The message component should update in real time after users send messages What is actually happening?
The messages component is not updating in realtime using socket even though it is functional on localhost.
Screenshots / Code Snippets
What did you try? Who did you ask?
What branch is your code on? Did you git push?
When was the last time you took a break?