강의

멘토링

로드맵

BEST
Programming

/

Front-end

Slack Clone Coding [Real-time Chat with React]

Let's start full-scale React web development by building a Slack clone! From sign-up and login to creating rooms and real-time chat!

(4.8) 97 reviews

2,899 learners

Level Intermediate

Course period Unlimited

  • zerocho
Clone Coding
Clone Coding
React
React
TypeScript
TypeScript
Webpack
Webpack
Babel
Babel
Clone Coding
Clone Coding
React
React
TypeScript
TypeScript
Webpack
Webpack
Babel
Babel

Image drag upload video production complete

I have uploaded the API source code for image drag upload to GitHub.

Due to differences in the WebSocket architecture, the real-time display mechanisms are slightly different in Channel and DM.

https://github.com/ZeroCho/sleact/blob/master/alecture/components/Chat/index.tsx

The part that recognizes the address in the chat component

https://github.com/ZeroCho/sleact/blob/master/alecture/pages/Channel/index.tsx

https://github.com/ZeroCho/sleact/blob/master/alecture/pages/DirectMessage/index.tsx

The main difference between the channel page and DM page is onDrop and onDragOver.

There is also an option to display the number of unread messages.

Comment