There seems to be a bug with using Sendbird 2.2.1 and NextJS.
In short when trying to use React hooks with Sendbird UI Kit there is a React version mismatch which results in an unhandled runtime error.
I’ve created a minimal test case reproduction in Codesandbox
If you uncomment line 5 where I’m simply trying to use React state you’ll see the app React mismatch error. It might be to do with the way Sendbird UIKit is specifying the peer dependencies for react and react-dom.
I’ve tried to work around the issue but I believe it needs to be fixed in Sendbird UI Kit.