I don't understand how when you join the chat room at 51:11 the message is displayed in the component. You only call setMessages inside the "ReceiveSpecificMessage" callback you defined in App.js, but we're not calling that yet, so how is the messages state getting updated? I had to add a setMessages call in the "JoinSpecificChatroom" callback so that it would add the join message to the messages state, it looks like you're just console logging.
Also not sure why you're creating an entire table per message. Posting the final code would be helpful so we can see what's going on without having to search back through the video
Once again Muhamad to the rescue, it's like you're reading the assignments I need to do for my uni. You've helped me through all of them, and hopefully future students will also stumble upon your channel! Cheers 🍻
Hello dear Mohammad. Thank you for the excellent training. Please deploy this project on iis or any web service that is better so that we can use the software from any device that connects to our computer in the local network. Thanks again for your wonderful tutorial
He didn't provide it... Also there are parts of the video where he just cuts it off, or code is behind his camera frame, I guess we need to hope that he will provide the code next time and be careful with video editing. Amazing content tho
I don't understand how when you join the chat room at 51:11 the message is displayed in the component. You only call setMessages inside the "ReceiveSpecificMessage" callback you defined in App.js, but we're not calling that yet, so how is the messages state getting updated?
I had to add a setMessages call in the "JoinSpecificChatroom" callback so that it would add the join message to the messages state, it looks like you're just console logging.
Same, I'm so confused on that lol.
conn.on("JoinSpecificChatRoom",(username , msg) =>{
setMessages(messages => [...messages,{username,msg}]);
console.log("msg: " , msg)
});
The format of the string was also changed. I suspect were some updates that occured off camera
change MessageContainer to this: export const MessageContainer = ({ messages }) => {
return (
{messages.map((message, index) => (
{message.username}: {message.msg}
))}
);
};
Thank you for making this video, despite having a headache. 🙏
I'm kinda confused on the 42:00 - 50:00 mark. Where is the SendMessage method being called?
Tested out with Mvc front end but not React and it worked flawlessly, thanks for the tutorial!
i want to build this using mvc how can i ?
Hey Mohamad. Amazing tutorial. However at 50:54 I didn't understand how you fixed the error.
const[messages, setMessages] = useState([]);
this fixed the error I had with the map error
Also not sure why you're creating an entire table per message. Posting the final code would be helpful so we can see what's going on without having to search back through the video
Once again Muhamad to the rescue, it's like you're reading the assignments I need to do for my uni. You've helped me through all of them, and hopefully future students will also stumble upon your channel! Cheers 🍻
Hey Great work i just wanted to know what extension are you using to be able to tell if it is a method or arg1 or arg2 at 18:34
newly subscribed and as it seems from the content a new fan!Great work!
Thanks for the content, really nice example, it's also nice to see the real time errors, to be able to know how to solve them
Hello dear Mohammad. Thank you for the excellent training. Please deploy this project on iis or any web service that is better so that we can use the software from any device that connects to our computer in the local network. Thanks again for your wonderful tutorial
Do we need to install that Nuget package for SignalR? It seems like its for .NET Framework. SignalR is built in for .NET 8
Newly subscribed, Thanks mate.
Awesome, thank you!
Nice work, would be great to post the github repo too.
Thank you very much for your work!
Brilliant, thanks man!
No problem!
Thanks very helpful
Please provide the code as a repository next time.
Awesome
thank you brother
Thanks buddy you are awsome!
thank you
Will it be adding a database to this application?
i get disconnected after 45 minutes from the signalr server is there any way to prevent that from happening
thank you so much
can you please make a video on how to store these messages in the database.
Hi, thankyou for creating this video, i implemented the video. Can you create a video on Notifications? React and .NET Signalr, it would be great.
Thank you!
Can I find the code somewhere?
Great Tutorials. Can you please make a tutorial on .NET Api with Apache Kafka !
It’s in the works ☺️
Where is the code?
He didn't provide it...
Also there are parts of the video where he just cuts it off, or code is behind his camera frame, I guess we need to hope that he will provide the code next time and be careful with video editing. Amazing content tho
I shouldn't have to slow down a video to 0.75 to keep up.
cool
could you give me the source code? it was helpful and easy to know what was happening in the background.
I really like to know your opinion about HTMX
where's the source code??
ليه بتتكلم بسرعه ممكن تعمل قناه للمتحدثين بالعربيه
😅 خد اللايك 910
Nice awesome thanks for sharing the amazing content 👍👌🫡👋🤩👏🏻🤝👊🎉, a happy subscriber