@liveblocks/react
Advanced tools
Changelog
v2.2.1
@liveblocks/yjs
Changelog
v2.2.0
We are making resolved
a first-class citizen property on
threads, for
more information about this change please read our
Upgrade Guide for 2.2.
@liveblocks/react
useMarkThreadAsResolved
and useMarkThreadAsUnresolved
hooks.query.resolved
when filtering threads.useStorageStatus
hook now also has a { smooth: true }
setting to make building calm UIs with
it a bit easier.useClient()
hook is now also available for users of
createRoomContext()
and/or createLiveblocksContext()
@liveblocks/react-ui
resolved
property in Thread
component.useTransition
fallback which would break on React versions
lower than 18.@liveblocks/node
markThreadAsResolved
and markThreadAsUnresolved
methods.ThreadMarkedAsResolvedEvent
and ThreadMarkedAsUnresolvedEvent
webhook
events.query.resolved
when querying threads.@liveblocks/react-lexical
lexical
peer dependency to version ^0.16.1
that fixes
compatibility issues with Next.js versions 14.2.0 and above.@liveblocks/node-lexical
lexical
peer dependency to version 0.16.1
.Changelog
v2.1.0
@liveblocks/client
@liveblocks/react
useStorageStatus
,
which returns the current storage status of the room, and will re-render your
component whenever it changes. This can used to build "Saving..." UIs.useDeleteThread
hook to delete a thread and its associated comments.@liveblocks/react-ui
useSyncExternalStore
import which would break on React versions
lower than 18.Changelog
v2.0.5
@liveblocks/react
useDeleteThread
will now throw a client-side error if someone
else than the thread owner tries to delete the thread. This will help you
catch and handle this case more easily.Changelog
v2.0.4
UserMeta
or
ActivitiesData
types do not match their requirements@liveblocks/client
CommentReaction
initialStorage
keys if the current user has
no write access to storage. This will no longer throw, but issue a warning
message in the console.@liveblocks/react
useDeleteThread
hook to delete a thread and its associated comments.