Realtime Notification App Using React and Socket.io

Realtime Notification App Using React and Socket.io

Lama Dev

2 года назад

165,672 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Bloggrammer
Bloggrammer - 08.09.2023 02:05

How do you notify offline users?

Ответить
SUPRATIK SARKAR
SUPRATIK SARKAR - 07.09.2023 10:50

Notification and sending friend request is super tough. I can send friend request and the user can view and approve that friend request. But i am not able to send it to multiple persons due to my faulty notification system as it can receive only one notification.

Ответить
Akhil Donthula
Akhil Donthula - 03.09.2023 12:15

u r god , the saviour ,the legend :)))))))))))))))))))))))))))))))))))))))))))))))))))))....i was dying to know how to implement this feature

Ответить
31_Mehak Basrani
31_Mehak Basrani - 09.06.2023 23:46

I am getting socket io refused to connect error..can anyone please help me resolve it

Ответить
Michael Lesley
Michael Lesley - 05.06.2023 19:05

Thank you a lot!!

Ответить
YACOUBA SYLLA
YACOUBA SYLLA - 13.04.2023 13:52

Thank you very much. simple and clear

Ответить
Anastasia Sukhovii
Anastasia Sukhovii - 26.03.2023 13:09

I think there might be an error in Notification svg file... I was not able to import, then checked with another svg and it was fine

Ответить
durgesh gupta
durgesh gupta - 17.02.2023 20:15

Great work lama...love your content 😀😀😀

Ответить
mohamedAmine rg
mohamedAmine rg - 13.02.2023 20:31

great stuff !!!

Ответить
Sujan Butang
Sujan Butang - 05.02.2023 18:48

Can you give me any idea on how to store these notifications for offline users as well??

Ответить
adebisi sheriff
adebisi sheriff - 22.01.2023 21:11

Thanks so much, Lamadev

Ответить
V E N K A T
V E N K A T - 10.01.2023 10:14

simple explanation for sockets 👏🏻

Ответить
Dio Ilham Djatiadi
Dio Ilham Djatiadi - 29.12.2022 14:26

Amazing

Ответить
Valentin Tixeira
Valentin Tixeira - 28.12.2022 16:04

Thanks for all tutorial ! As we say in Argentina you are "Crack", "Idolo", "Titan de TITANES"

Ответить
Joshua
Joshua - 12.11.2022 22:48

I tried to set the notifications but it wouldnt update so I used redux and updated the notifications globally. now how to persist them until the admin sees and clears it, cause obviously when I reload the page, the states will automatically reset right?

Ответить
Aayush
Aayush - 24.10.2022 09:01

Amazing ✨✨

Ответить
pavan kristipati
pavan kristipati - 24.08.2022 21:48

Hi there I need some help to your side when ever on click like button it will show liked but when the page is refreshed the liked icon does not shown how to rectify this problem pls help 😊

Ответить
sevdimbuoyunu
sevdimbuoyunu - 20.08.2022 16:36

super. thanks you

Ответить
Lodux
Lodux - 29.07.2022 09:37

Man i think Im in love with you 😍

Ответить
Badri B
Badri B - 08.07.2022 07:21

If user is offline how to achieve this notification system sir.can you do video for this...

Ответить
Vilius Z
Vilius Z - 30.06.2022 23:43

Good job friend, thanks.

Ответить
AMP Masti
AMP Masti - 28.06.2022 18:58

Namespace tags are not supported by default. React's JSX doesn't support namespace tags >>>>>

error coming in .svg file importing time

kindly help....if some1 in master in reactjs please

Ответить
Sarah
Sarah - 13.06.2022 17:04

Thank YOUUU safak!! by the way, how do you 'unsend' a notification ? (for example, if I liked then unliked the post)

Ответить
Dongjing Zhong
Dongjing Zhong - 28.05.2022 00:20

This guy is a super hero in the real world ! Thank you so much my friend!!

Ответить
Through the Telescope!
Through the Telescope! - 11.05.2022 08:21

I am almost at the end of this project. Could you help me though: I am getting a this:
io.to(receiver.socketId).emit("getNotification",{
^

TypeError: Cannot read property 'socketId' of undefined.

I have checked everywhere I am at a loss how to resolve this issue.

Ответить
Jison Soft
Jison Soft - 10.05.2022 23:59

thank you for this tutorial, well I'm almost a beginner, I would like you to demonstrate how to implement soket io in a separate router file, I don't know if I'm explaining my problem well. thanks for reading it anyway, waiting for an answer

Ответить
starlord
starlord - 24.04.2022 19:15

Thank you! Great video! So funny when you say "awesome" it sounds like "have some" LOOL

Ответить
Leng Leng
Leng Leng - 18.04.2022 04:54

Thank you so much.

Ответить
Learn With Ragib
Learn With Ragib - 04.04.2022 21:08

Sir , please implement this on serversite

Ответить
Lera
Lera - 19.03.2022 19:25

you are the best, thank you!

Ответить
Krishna Acharya
Krishna Acharya - 09.03.2022 14:22

Does this work even when the web app is offline ?

Ответить
alvina j
alvina j - 26.02.2022 11:27

can you please explain how can i deploy socket folder ion cpanel.i have reactjs website as frontend and laravel for api.

Ответить
Yagnesh Chavda
Yagnesh Chavda - 23.02.2022 22:00

How can i make my api real time

Ответить
Rodrigo Ibarra
Rodrigo Ibarra - 16.02.2022 09:46

Stream is extremely expensive

Ответить
Habibur Rahman
Habibur Rahman - 14.02.2022 05:47

You are awesome 😎😎😎😎

Ответить
Awesome Twilight
Awesome Twilight - 06.02.2022 08:33

Bro import is not working in .js and .jsx and the "<" things its showing error

Ответить
Zafar Hussain
Zafar Hussain - 24.01.2022 15:45

how can i useit with database.

Ответить
Ibnul Ferdous
Ibnul Ferdous - 11.01.2022 09:53

Nice tutorial for the beginners! Thank you!

Ответить
Abdur Razzak
Abdur Razzak - 03.01.2022 21:34

cool

Ответить
Huy Trần Đình
Huy Trần Đình - 02.01.2022 08:56

Imagine if i was using express server for my react app, is it possible to add socket server in my express app or i have to create a new socket server?.

Ответить
Ibrahim wattoo
Ibrahim wattoo - 30.12.2021 15:13

i got some error can you help me?

Ответить
Mister Knightley
Mister Knightley - 29.12.2021 20:26

Hello Lama,
Just a quick question: I already followed your Live Chat tutorial and I was wondering if I should create two different socket servers for the chat and the notifications, or if only one server would be enough. I don't know what is best practice.
Thanks!

Ответить
x
x - 08.12.2021 16:00

That's awesome. I'm going to learn this to apply to the social media app.
I love it

Ответить
Nsikak Essien
Nsikak Essien - 05.12.2021 16:11

Awesome tutorial... well done Lama

Ответить
Shivam Sharma
Shivam Sharma - 27.11.2021 16:51

why am i receiving multiple notifications for a single event ?

Ответить
sala ba5chour
sala ba5chour - 17.11.2021 16:54

thanks bro but how can i send a notification to a user hors ligne (not connected )

Ответить