-
Notifications
You must be signed in to change notification settings - Fork 143
refactor: Migrate dispatchers to SMH #1256
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
refactor: Migrate dispatchers to SMH #1256
Conversation
❌ Deploy Preview for sendbird-uikit-react failed. Why did it fail? →
|
e7d8940 to
c57e535
Compare
| // TODO: Support below legacy exports | ||
| // useSendbirdStateContext: 'src/hooks/useSendbirdStateContext.tsx', | ||
| // withSendbird: 'src/lib/SendbirdSdkContext.tsx', |
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.
support this in the separated PR
src/modules/GroupChannelList/context/GroupChannelListProvider.tsx
Outdated
Show resolved
Hide resolved
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.
불필요한 파라미터 전달 useSendbird
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.
type definition export도 확인하기
| if (data.channel.url === currentChannel?.url) scrollPubSub.publish('scrollToBottom', {}); | ||
| }; | ||
|
|
||
| if (pubSub?.subscribe === undefined) return; |
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's a moment that pubSub is undefined when its component is initialized
from #1256 `sendbird/type` file's location has been moved, so it affected to the every file that uses the type variables related to the Sendbird
CLNP-5736