@sendbird/uikit-react
Advanced tools
Changelog
[v3.1.2] (Aug 31 2022)
Fixes:
Type defn: Change type of react elements to React.ReactElement
React.ReactNode
and React.Component
to React.ReactElement
'ts' as const
ReactNode could be string | number | null | undefined | ReactElement | portal
and this(expecting string or number) causes warning when we use it like <CustomComp />
// in the component
{ renderMessage } = props
const CustomMessage = useMemo(() => {
return renderMessage({ ... });
}, []);
return (
<div>
<CustomMessage />
</div>
);
so expecting ReactElement is better for our case
Fix message grouping: Set isMessageGroupingEnabed to true(was set to false during v2 migration)
Changelog
[v3.1.1] (Aug 17 2022)
Features:
@sendbird/uikit-react/handlers
, this is a workaround
to fix an issue where inhertiance chains break custom handler implementation
@sendbird/uikit-react/handlers/ConnectionHandler
@sendbird/uikit-react/handlers/GroupChannelHandler
@sendbird/uikit-react/handlers/OpenChannelHandler
@sendbird/uikit-react/handlers/UserEventHandler
Fixes: