-
Notifications
You must be signed in to change notification settings - Fork 141
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
[CLNP-6072] useConnectionHandler #1291
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for sendbird-uikit-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
src/hooks/useConnectionHandler.ts
Outdated
import { ConnectionHandler, ConnectionState } from '@sendbird/chat'; | ||
import useSendbirdStateContext from './useSendbirdStateContext' | ||
import uuidv4 from '../utils/uuid'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may need to export the ConnectionHandler
from UIKit, here
export ConnectionHandler
https://github.com/sendbird/sendbird-uikit-react/pulls?q=is%3Apr+is%3Aclosed+export+Handlers+thorough
예전에 @sendbird/chat의 인터페이스를 그대로 사용하던 고객에게서 Invalid Parameter Error가 발생한다는 이슈 리포트가 있었습니다. 좀 오래 되어서, 잘 기억은 안나지만 아마도 chat-js와 uikit의 디펜던시로 가지고 있는 chat-js간의 버전이 달라서 발생했던 이슈로 기억합니다. 해당 이슈가 발생할 수 있을지 검토가 필요해 보입니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ConnectionHandler
의 경우에는 v4 초반부터 있었던 핸들러이고 변경 내용이 거의 없어서 괜찮지 않을까 싶긴 한데 그래도 안전빵으로 바꿔두었습니다.
https://sendbird.atlassian.net/browse/SBISSUE-18182
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If unsure, ask the members.This is a reminder of what we look for before merging your code.
External Contributions
This project is not yet set up to accept pull requests from external contributors.
If you have a pull request that you believe should be accepted, please contact
the Developer Relations team [email protected] with details
and we'll evaluate if we can set up a CLA to allow for the contribution.