Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: 채팅 멈추는 현상 수정 및 최적화 #202

Merged
merged 4 commits into from
Nov 18, 2021

Conversation

jiho-bae
Copy link
Collaborator

작업 사항

  • useCallback 재생성으로 인한 채팅이 멈추는 현상 수정
  • 채팅 컴포넌트 분리, React.memo 적용
  • 공백 전송시 채팅이 전송되던 문제 수정
  • 익명유저를 Anonymous로 표시되도록 수정

- useCallback에서 chats 의존성을 제거하고, setChats의 prev 인자 사용
- 채팅 컴포넌트를 분리하고 react-memo 적용
- 채팅을 공백으로 전송해도 전송되던 문제 수정
@jiho-bae jiho-bae added the 🎯 프론트엔드 프론트엔드 관련된 개발 작업입니다. label Nov 18, 2021
@jiho-bae jiho-bae self-assigned this Nov 18, 2021
@jiho-bae jiho-bae merged commit 5daeae2 into boostcampwm-2021:main Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 프론트엔드 프론트엔드 관련된 개발 작업입니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant