BEST
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
Clone Coding
Clone Coding
React
React
TypeScript
TypeScript
Webpack
Webpack
Babel
Babel
Clone Coding
Clone Coding
React
React
TypeScript
TypeScript
Webpack
Webpack
Babel
Babel
How to fix the problem of sending DM twice in Korean in Chrome
To prevent the chat from going twice when you hit enter in Chrome, modify the onKeydownChat code in ChatBox as follows. Here is a related link.
https://velog.io/@o1_choi/isComposing
const onKeydownChat = useCallback((e) => { if (!e.nativeEvent.isComposing && e.key === 'Enter') { if (!e.shiftKey) { e.preventDefault(); onSubmitForm(e); } } }, [onSubmitForm]);Thank you Chanhyung Lee.
Comment




