Тёмный

Build a real time chat app with Firebase and React.js | Beginner tutorial 

WebChain Dev
Подписаться 6 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@akporraphael9069
@akporraphael9069 27 дней назад
A real life saver. I've been looking for recent tutorials to implement chat app functionality with firebase, most of em are outdated or won't work after implementing it. At least this is a stepping stone. Thanks 👍
@YassineEnnachat
@YassineEnnachat 4 месяца назад
I think it would be better if you explained what the imported functions do upon writing the import that way we can understand why they need to be imported. and how each section of the line does like the snapshot.docs.map what does each one do "snapshot" "docs" "map"
@MujahidulIslam
@MujahidulIslam 7 месяцев назад
firstly thanks for make this video,, i didn't understand your source code 79 and 80 number line code. Can you explain to me? because i am beginner.
@WebChainDev
@WebChainDev 7 месяцев назад
In this block of code we are mapping through all of the messages. msg.data.uid === user.uid checks if the sender of the message is the current user (by seeing if their uids are the same) , and if so, places the message of the right side of the screen, otherwise putting it on the left. The next line does the same thing but applies some styles to the background and text color. Hope this helped
@fiend_1108
@fiend_1108 11 месяцев назад
is there a way where we cn have multiple chats, instead of one global chat where anyone can join with email
@WebChainDev
@WebChainDev 11 месяцев назад
Yes, that's possible. I believe the structure would be something like this: a chats collection which would hold each chat as a document. This document would have fields with the people who own the chat and a messages collection like the one in this video.
@fiend_1108
@fiend_1108 10 месяцев назад
@@WebChainDev could you possibly make a small tutorial on it, it would be really helpful
@anishgupta2915
@anishgupta2915 9 месяцев назад
@@WebChainDev sir how join other in chatroom with his mail
@anishgupta2915
@anishgupta2915 9 месяцев назад
yes sir @@fiend_1108
@ranviee
@ranviee 11 месяцев назад
Source Code?
@WebChainDev
@WebChainDev 11 месяцев назад
Here it is: gist.github.com/Mif2006/a12076e9d48444df7b3f348634a3caba
@ranviee
@ranviee 11 месяцев назад
thank you 😆@@WebChainDev
@lorenzoj7925
@lorenzoj7925 10 месяцев назад
Everything was going well but at last i got this error while connecting to local host [plugin:vite:react-babel] C:\Users\loren\OneDrive\Desktop\Loren Chat\src\App.jsx: Unexpected keyword 'const'. (10:4) 13 | It cannot verify the word const
@WebChainDev
@WebChainDev 10 месяцев назад
In these cases the error is usually a typo in some other place. I suggest checking the source code to see where it is
Далее
Свадьба Раяна Асланбекова ❤️
00:12
React & Firebase Chat App Tutorial
34:23
Просмотров 67 тыс.
Best way to learn Socket IO | complex chat app
19:52
Просмотров 106 тыс.
Build a Real Time Chat App With Node.js And Socket.io
17:12
Свадьба Раяна Асланбекова ❤️
00:12