Can I use the React UI Kit along with Javascript SDK in one App

Hi,

I want to know from SendBird experts that,
Is that possible to use the SendBird React UI kit along with javascript SDK?
I already use React UI Kit in an app. Now I want to extend the functionality of getting channel and message based on custom_type with SDK.

Hello @tahiralvi

What we recommend is that you use the sdk instance from UIkit
If you place SendBirdProvider higher up in the component tree, you can access SDK in your components using withSendBird() HOC and sendBirdSelectors.getSdk()

example -> https://codesandbox.io/s/2-5-customizing-chatinput-wgi9d?file=/src/CustomizedMessageInput.js:3897-3967

I am not sure how would using 2 instances of SDK would go in the same app. If they are both in different routes, maybe they might work

Let us know if this doesn’t solve your issue or if there are any more questions