Socket.io + ReactJS Tutorial | Learn Socket.io For Beginners

  Рет қаралды 290,214

PedroTech

PedroTech

Күн бұрын

Пікірлер: 253
@mikealejandro3938
@mikealejandro3938 2 жыл бұрын
Got a job as a dev some months ago, but learning process never stops, thanks for this brother !
@navedoesthings
@navedoesthings Жыл бұрын
been at it for quite some time...this is a constant in our field, a constant that keeps me focused and excited!
@mohamedali9249
@mohamedali9249 Жыл бұрын
It will never end
@VinayTandale
@VinayTandale Жыл бұрын
same
@krishnaprasanna3032
@krishnaprasanna3032 Ай бұрын
Hello Mike , I am fresher candidate aspiring to become Developer. I have learned MERN Stack, SQL , JAVA etc... Could you please tell me which technologies and tools I have to learn to crack a Developer role .
@Arcane_Dragon878
@Arcane_Dragon878 23 күн бұрын
​@@krishnaprasanna3032 try to get good at a few rather than be mediocre at many Try and improve a lot in the things you know right now and as time goes on add things to it
@mdabdurrahman7626
@mdabdurrahman7626 2 жыл бұрын
Hello sir, am from Bangladesh. As a web development learner, this is my first visit to your channel. And this is first tutorial I have seen on your channel. I just fall in love with your teaching ability and your tutorial. I'm So impressed. All tutorials are so standard and your teaching ability is so so so good...Take love from Bangladesh. Your pronunciation is very clear which is very convenient for non-English people like us.
@miladbannourah7798
@miladbannourah7798 Жыл бұрын
literally the best tutorial on youtube, thanks for making it short and not complecating anything, great job bro
@natnael-oqp5082
@natnael-oqp5082 2 жыл бұрын
bro please please make full-stack video using mern stack + AWS S3
@NOTHING-en2ue
@NOTHING-en2ue Жыл бұрын
before i start i just hated the socket and said why should i use the socket to message then when found your tutorial i loved the sockets, thanks a lot ❤
@KiprutoR
@KiprutoR Жыл бұрын
So easy and straight forward ...other tutorials just throw you off. I've understood socket. Will now try and work on a simple project to test what I've learnt. Thank you, you've earned my sub
@supersaiyan2
@supersaiyan2 7 ай бұрын
This is the best socket and react tutorial I've ever seen. I like how you explained every basic thing (like the hooks and server) because as a beginner I had no idea what they did.
@freedebris
@freedebris Жыл бұрын
You are an incredible teacher. Hands down best tutorial on this subject that I have found yet! Thank you.
@ShadyRonin
@ShadyRonin Жыл бұрын
Wow man this was very easy to follow, thank you so much! I've seen other tuts and it was sooo overwhelming. You kept it focused on the core fundamentals and basics, and that's exactly what I needed!
@cheapcyclist7824
@cheapcyclist7824 10 ай бұрын
100% agree with this comment. Thanks Pedro
@snackdonw
@snackdonw 2 жыл бұрын
Bro you've saved my job so many times! ♥️
@sagarvavadiya5252
@sagarvavadiya5252 Жыл бұрын
best video to understand concept of socket io in half hour
@medhabibbenyoussef9391
@medhabibbenyoussef9391 6 ай бұрын
The only useful socket tutorial in youtube, big thanks bro wish you all the best !
@madhanrock5390
@madhanrock5390 2 жыл бұрын
This is one of the important topics should be known by web developers! Thanks for this video!
@sudo_ayush
@sudo_ayush Ай бұрын
This was exceptionally to the point explanation, really the best @Pedro Tech
@bryanronnie6765
@bryanronnie6765 Жыл бұрын
Wow, ce tutoriel is too good man. Sooo concise and neat. Maintenant je peux développer mon multiplayer game in no time. Merci!
@ĐiệpXuan-g9u
@ĐiệpXuan-g9u Ай бұрын
very detailed, I find it very easy to understand and helps me go deeper into it more easily, thank you bro😘
@chandruloganathan3725
@chandruloganathan3725 10 ай бұрын
Awesome bro it is worked for me I have been tucked in this for more than 2 months
@ayushdumasia
@ayushdumasia 5 ай бұрын
Nice and short explanation , Love from India ❤❤❤❤
@minhbaotran180
@minhbaotran180 Жыл бұрын
thank you very much, this will help me do my hard project at my university, thank youu
@PedroTechnologies
@PedroTechnologies Жыл бұрын
You are welcome!
@webapi5513
@webapi5513 2 жыл бұрын
That's really amazing tutorial for very beginner like me. Thanks a lot. some videos I watched, They first finish server coding first then frontend coding. it was tap for me understand. here he code step by step , Kindly Upload more details video on this socket io plz
@minhthien8651
@minhthien8651 2 жыл бұрын
Cool ! I learned a lot of things from this channel. Thank you Pedro
@theartisticjs
@theartisticjs 2 жыл бұрын
Thank you so much. Just what I needed. Not too overwhelming, very informative and helpful. Great job
@subhamshaw1726
@subhamshaw1726 Жыл бұрын
wow really good video. I was struggling with this for last 2 days for implementing in a project. Thank you pedro.
@dinghanlim7735
@dinghanlim7735 2 жыл бұрын
Thank you for this Pedro! recently subscribed and watched so much of your videos! Was hoping for some content that goes through real time servers, i.e. a simple online game with multiplayer online features; and how we could implement it online instead of just on localhost! once again thank you for the wonderful content :)
@matheustran8009
@matheustran8009 2 жыл бұрын
I wish you posted this sooner, would’ve saved me a lot of time XD
@prathamesh3299
@prathamesh3299 2 жыл бұрын
You made my life easy my man your so great🤞
@misterfreezeur4622
@misterfreezeur4622 Жыл бұрын
great video mate, straight to the point & well explained!
@ZadSoleimaninia
@ZadSoleimaninia Жыл бұрын
Pedro thank you so much for all the tutorials and efforts going to each and every one of your videos, really appreciate your help, it has helped me tremendously! Quick question: Would you place a chat app and and api on the same express server? or create 2 different express instances with different ports obviously so that we have different express servers for different purposes? I've been a frontend dev for quite many years and start getting into backend quite recently and your videos has helped me quite a lot, so thank you so much!
@poojatikhe2046
@poojatikhe2046 7 ай бұрын
WOWWW, simply a nice explaination. Thank you
@mohitvishwkarma9391
@mohitvishwkarma9391 Жыл бұрын
Great, simple, crisp explanation❤
@Ali-Aziz-official
@Ali-Aziz-official Жыл бұрын
Great tutorial, I don't have words to praise your content.
@kimberlyvillarmente8239
@kimberlyvillarmente8239 2 жыл бұрын
Hats off! I owed you a lot, this tutorial was the best!!
@elliotheath9408
@elliotheath9408 2 жыл бұрын
chillhop ending, i like
@dhriteshkumar1786
@dhriteshkumar1786 2 жыл бұрын
thanks bro for amazing explanation !!
@AbhishekKumar-md2zq
@AbhishekKumar-md2zq 2 жыл бұрын
Hey thanks, your sokcet video is best over the internet
@BROOKnim
@BROOKnim Жыл бұрын
Thanks man , saw this any implemented online playing for my game
@vicsystems
@vicsystems 11 ай бұрын
Thanks for taking the time to really break this down
@mohammedjazeel585
@mohammedjazeel585 5 ай бұрын
best tutorial about socket io, thank u sir 👍👍
@blackwolf542
@blackwolf542 Жыл бұрын
I really enjoyed your tutorial. It was very easy to follow and understand.
@dryoldcrabman6890
@dryoldcrabman6890 Жыл бұрын
thank bro you are cool. This really help. I was mad at world. But now world less bad. All becaise video is good of qauility and now I do project. you are the goodness of the yourtube. and this make me happy day.
@malikmukhtar1711
@malikmukhtar1711 2 жыл бұрын
What a nice tutorial, keep up the good work.....damn your network is fast
@스테디-k6b
@스테디-k6b 2 жыл бұрын
very goood explanations thanks
@ilirbajrami2902
@ilirbajrami2902 2 жыл бұрын
Very nice explanation! But, can you make a tutorial implementing this with Nextjs API routes and using another use case (receiving data from a streaming API for instance) since literally every socket io on internet is about building a chat app.
@navedoesthings
@navedoesthings Жыл бұрын
you can pretty much follow along with this video since there is a more traditional way of starting your express server and initializing the next build.
@k303k
@k303k Жыл бұрын
Thanks a lot for this tutorial pedro! Very easy to follow along.
@samialvi4226
@samialvi4226 Жыл бұрын
Great Job man that was one of the best tut i ever had. Keep the great work up
@TheOceanLoader
@TheOceanLoader 2 жыл бұрын
Brilliant tutorial video. Served me well as a refresher course. One of the few videos I enjoyed watching!
@MaduVerdinhas
@MaduVerdinhas 8 ай бұрын
Great class and very easy to follow, thanks @PedroTech!! Regards from a fellow brazilian o/
@matheuscorreiadarocha1801
@matheuscorreiadarocha1801 Жыл бұрын
Thank you for this video bro, saved me a lot of time reading documentation!
@amitnino
@amitnino Жыл бұрын
Hey, cool concept, never heard of SSE. How would you secure the connection and make sure the events you received are from a trusted source?
@KondzioTVstudio
@KondzioTVstudio Жыл бұрын
I have never used sockets but its look great, thanks for video
@siphillis
@siphillis Жыл бұрын
Absolutely superb content and delivery.
@jeff1571
@jeff1571 2 жыл бұрын
Hey Pedro! Thanks for the tutorials and guides, you really helped me stepped up my coding skills. I'm wondering if you could do Docker tutorial also as I want to deploy a couple of my projects. Have a great day :)
@ItsMrxSean
@ItsMrxSean 2 жыл бұрын
Thank you! This is super helpful. Cleared things up for me that I've been stuck on for weeks. I'm kind of curious what the io information looks like from component to component. Should the client-side socket only be managed in the highest level component (App), or are there other methods?
@Mast3rBruc31
@Mast3rBruc31 2 жыл бұрын
Awesome video! Pedro you have some of the best content on YT! Keep it up!
@namtranhai8150
@namtranhai8150 Жыл бұрын
Short but really informative! Thanks a lot
9 ай бұрын
thank you, you have an amazing approach to teaching! very inspiring
@dedon45
@dedon45 11 ай бұрын
Perfect introduction, thanks a lot man :D
@funfunfun18
@funfunfun18 2 жыл бұрын
Great video Pedro. Exactly what I was looking for - many thanks
@p1k1m4ru
@p1k1m4ru 11 ай бұрын
this is very good. Thank you for the stuff Pedro. I do have a quesiton. If i am connecting to external websocket do i need backend?
@musm404
@musm404 2 жыл бұрын
Bro. you are a lifesaver. keep up the good work.i
@mihantharindaedirisinghe9532
@mihantharindaedirisinghe9532 2 жыл бұрын
this tutorial really helped me out, thankyou so much
@ursuadrian2880
@ursuadrian2880 2 жыл бұрын
Hi Pedro! Nice video. I have one question: It is okay to put onChange handlers to inputs? If i console.log the state, after every keystroke the state is updated. Isn't a better idea to update the state in onClick handlers, so, we shouldn't update the state after every keystroke? I'm not sure, that's why I'm asking you this. ^^ Thank you.
@rasul3d
@rasul3d Жыл бұрын
This is great. I just wanted to learn this. Thanks a lot.
@RV-kl2wl
@RV-kl2wl 2 жыл бұрын
Very very good channel 👍👍. Keep up the good work.
@bentoby2123
@bentoby2123 9 ай бұрын
I love you bro LMFAO Learned so much in 30mins
@loulou81400
@loulou81400 2 жыл бұрын
Eu, another great tutorial, I actually made a social network with the help of your series on nodejs react and mysql.. Do you think it's possible to add this kind of app with all the code I have already.. I was thinking about adding this kind of functionality but it's not easy with an existing front-end and back end already created.. Thanks for your amazing job here.. Greetings from France!
@iMrM7mdx
@iMrM7mdx 2 жыл бұрын
this is an awesome tutorial. well done pedro
@ThColinPereira
@ThColinPereira 2 жыл бұрын
This is amazing! Great looking thumbnail btw
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thanks! 😁
@ShrikrishnagopalSharma
@ShrikrishnagopalSharma Жыл бұрын
very nice explanation pedro brother'
@Camilofuentesito
@Camilofuentesito 4 ай бұрын
muchas gracias por el tutoria rey, aprendi mucho gracias a este video
@trondnado
@trondnado 2 жыл бұрын
Hey! Could you give an example if you want to connect to a existing socket ?
@Lagtcham
@Lagtcham 2 жыл бұрын
Greetings from Colombia! thanks for the video. One question, why put socket in the useEffect dependencies if its ref is never going to change?
@mundoprogramacion6537
@mundoprogramacion6537 10 ай бұрын
Great video Pedro, it would be nice if you make a full stack chat-app using react, prisma with chat rooms included.
@discoverthecode2286
@discoverthecode2286 2 жыл бұрын
Thanks bro you are a legend i leart ot of from you dear
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you so much!
@d4tto92
@d4tto92 2 жыл бұрын
მადლობელი, კარგი ვიდეო იქნება.
@unbekannte
@unbekannte 15 күн бұрын
thank you very much that's what I needed
@abhaytiwari6411
@abhaytiwari6411 2 жыл бұрын
Big fan 😉 Bro you never disappoint us.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Thank you so much 😀
@justiniyke2955
@justiniyke2955 Жыл бұрын
Thanks a lot bro, learnt something new
@ankushchavhan1332
@ankushchavhan1332 2 жыл бұрын
Really waiting for it 🙂
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
:)
@dakshmakhija2367
@dakshmakhija2367 10 ай бұрын
the entire video is so awesome, just the room logic is wrong, let's say all 3 were in room 23, but if third person joins new room 99 , then he is still connected to the previous room (23) and receive the messages of 23 !!! If anyone knows how to correct this pls help !
@easonhuang4031
@easonhuang4031 2 жыл бұрын
nice tutorial, subscribed!
@avi_mukesh
@avi_mukesh 8 ай бұрын
Very helpful tutorial, thank you so much
@ssk7690
@ssk7690 Жыл бұрын
The nice thing about your videos is that 32 mins will not be more than 2hrs for a first time learner. as for other creators, 32mins might take up a whole day.
@josephuzuegbu7431
@josephuzuegbu7431 10 ай бұрын
So easy to understand 🎉
@vamsirayapaneni
@vamsirayapaneni 4 ай бұрын
Loved this one. Thank you
@zainulkhan8381
@zainulkhan8381 Жыл бұрын
Great explanation, keep up the good work
@okyash007
@okyash007 10 ай бұрын
bro bro bro i get in just 30 mins bro appriciated appritiated
@tomasbuzeta3591
@tomasbuzeta3591 Жыл бұрын
Awesome! Thanks for sharing and taking the time to explain :)
@andikakurniawan4188
@andikakurniawan4188 2 жыл бұрын
great video. it's easy to follow and it's working....
@juanluiss2526
@juanluiss2526 2 жыл бұрын
Very nice explanation, thank you! 😄
@fahriabdurrachman7061
@fahriabdurrachman7061 2 жыл бұрын
thank you so much , anyway can u build another video for how to connect and insert the messages into database for example like postgresql? 😁
@Adnan-rz9gm
@Adnan-rz9gm 2 жыл бұрын
thank you for the tutorial, though you seem to have missed out on clearing socket.on listener by returning socket.off in the useEffect (memory leak?)
@sebastianmihaiprisacariu8975
@sebastianmihaiprisacariu8975 2 жыл бұрын
Cool! Would this be a good idea for creating a GUI - like ReactBricks?
@karthikrajanv3530
@karthikrajanv3530 8 ай бұрын
The best
@triumphadeniran7335
@triumphadeniran7335 5 ай бұрын
very good, helped me so much, thanks
@dweebycat9929
@dweebycat9929 2 жыл бұрын
Thank you so much, you've explained this video really well!!
@fahadzidan8591
@fahadzidan8591 2 жыл бұрын
Well understood !
@mohammadal-haimouni5909
@mohammadal-haimouni5909 2 жыл бұрын
Agree with you this kafer is amazing
@irahazda
@irahazda Жыл бұрын
At 21:53, are you sure using 'socket' as dependency to useEffect is the right thing? I am getting warning that having socket as dependency doesn't actually do a thing. The socket variable actually sits outside of the App component so I am not sure how using it as a dependency even make sense.
@xsova113
@xsova113 11 ай бұрын
for me it works because if i don't put socket in the dependancy, when I click the button, frontend won't make any update and show the alert message because the socket recieve_message function in the useEffect is not running until it sees the socket thats in the dependency has been triggered. EDIT: Actually now it works without the socket dep. interesting
@karantandekar1181
@karantandekar1181 2 жыл бұрын
can u implement little chat app in firebase with socket and react it would be very helpful
@Epsio0
@Epsio0 Жыл бұрын
Thanks for the tutorial. Just for my own curiosity, how would you print a message to all clients including the person who sent it? As you mentioned, the broadcast method emits an event to all client except for the initial sender
Want to make a chat app? Get Real-time With WebSockets & Socket.io!
1:31:40
Good Morning Developers
Рет қаралды 17 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 87 МЛН
4 React Best Practices That Will Make You A PRO
18:12
PedroTech
Рет қаралды 146 М.
WebSockets in 100 Seconds & Beyond with Socket.io
8:31
Fireship
Рет қаралды 1 МЛН
Best way to learn Socket IO | complex chat app
19:52
Hitesh Choudhary
Рет қаралды 117 М.
Real-Time Push Notifications with Socket.IO | React & Node.js Tutorial
16:20
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more
47:33
Socket.io Introduction - How to Build a Chat App
21:38
Dave Gray
Рет қаралды 43 М.
Learn Socket.io In 30 Minutes
27:27
Web Dev Simplified
Рет қаралды 515 М.
Get started with React.js & React Router 6+
3:45:30
Academind
Рет қаралды 159 М.
What is WebSocket? Why is it used & how is it different from HTTP?
33:23