@sendbird/uikit-react
Advanced tools
Changelog
[3.0.0-beta.6] (June 03 2022)
Feature:
// its recommended to memoize configureSession function
const memoizedConfigureSession = (sb) => {
const sessionHandler = new sb.SessionHandler();
sessionHandler.onSessionTokenRequired = (onSuccess, onError) => {
};
return sessionHandler;
};
// see: https://sendbird.com/docs/chat/v3/javascript/guides/authentication
<SendbirdProvider
configureSession={memoizedConfigureSession}
/>
Fix:
Changelog
[3.0.0-beta.5] (May 24 2022)
Fixes:
DOC:
Changelog
[3.0.0-beta.3] (May 19 2022)
Fixes:
3.1.13
Changelog
[3.0.0-beta.2] (April 29 2022)
Feature:
Mention
Type definition file fix for TS project
For typescript projects, add node_modules/@sendbird/uikit-react/index.d.ts
to your include
section in tsconfig file to get type definitions
Move font import to top of CSS file
Some bundlers such as parcel throw error:
@import rules must precede all rules aside from @charset and @layer statements
Resolve this issue by moving the line to the top
Changelog
[3.0.0-beta] (Apr 12 2022)
This is the official beta for Sendbird UIKit for React version 3!
TLDR -> We split the old smart-components
into modules which contian context and UI. Context contain logic and UI Components handle UI
Check out the v2 to v3 migration guide for details
Changelog:
@sendbird/uikit-react
useXXXXX()
and react function components to make custom componentsimport { useChannel } from '@sendbird/uikit-react/Channel/context';
import ChannelUI from '@sendbird/uikit-react/Channel/components/ChannelUI';