A Chat App with Socket.io and ReactJS Tutorial-ish

preview_player
Показать описание

Twitter

Commands:
//Install create-react-app globally
npm install -g create-react-app

create-react-app chat-app

// install concurrently and nodemon
npm install —save-dev concurrently nodemon

React Snippets

Styles

NodeJS

ReactJS

coding setup 2:30
socket setup 4:30
Layout Component 11:26
io-connection client 13:25
import styles 16:36
Event constants 17:32
Login/Functions 19:09
LoginForm Component 27:45
Рекомендации по теме
Комментарии
Автор

Thank you for this, very good for people who already know some React. Only suggestion is change console to something easier to look at. Red is hard on the eyes!

snwdn
Автор

I feel like I'm going to learn a lot from you, thanks for your time and effort brother

dgrob
Автор

hey man just found your channel ... you did such a great job with this series, , , i hope you make more tuts like this, this has been a big help man, , , keep up ur good work

ziaulhasanmozumder
Автор

Thanks a lot, great job by you, it was awesome tut series.

ebrahimkeybondorian
Автор

dude thanks so much for making this tutorial. im loving it!

bantinggamer
Автор

can you explain the change in the script (9:44) in more detail? mine isn't working, and I'm really not sure what Iv'e done let alone what to do to fix it.

nathantelford
Автор

I'm curious to know what keyboard shortcut (or sequence of shortcuts) were used that allowed Leon to modify the Events.js file like he did.

michaelparaskakis
Автор

If you guys faced error using npm create react app use npx instead of npm

darshanjain
Автор

thanks bro but how do i do delete in javascript ive been trying that and its not working for me. can you point me in the right direction

tabaicanking
Автор

if you found this issue “Cannot read property 'emit' of undefined”:

Just change 'io.emit(...)' to 'socket.emit(...) => module.exports = function(socket) { ... }

thank me later...

deux
Автор

Thanks for sharing keep up good work and i cant wait to subscribe

herbertk
Автор

Thanks for the video, I've a question what is the Date.now() do as a param to new Date()? isn't that equivalent to just new Date()?

hossam_mourad
Автор

Hey Leon, just wanted to say good job. You're following some good practices.

kunalmandalia
Автор

just need clarification on something, in newer versions of React aren't you able to just do this.state = {} right away without calling the constructor function?

alexyap
Автор

Hi Leon, It seems this chat app does not use express. So, to add the functionality of sending files and images how to add express in it?

akshayanagalakshmi
Автор

hello, a question this video is giving me errors, can you help me please

biemarfernandezacunaoficia
Автор

Hey thanks for the vids, are you building backend in this series too for the chat app?

kayceecodes
Автор

at 45min how are you able to console.log
i dont see anything in my console except connected

vamshidharreddy
Автор

I followed along the tutorial but cant the console log for connected and the socket ID cant be found. Anyone facing the same issue?

zahinhasan
Автор

Hi Leon, getting this error: socket.on(VERIFY_USER, (nickname, callback) => {
^

ReferenceError: socket is not defined. In my SocketManager.js. Basically i'm not getting any socket.id

Bloddhunter
welcome to shbcf.ru