@liveblocks/client
Advanced tools
Changelog
2.10.0
@liveblocks/client
client.resolvers.*
to invalidate the cache of
resolveUsers
, resolveRoomsInfo
, and resolveMentionSuggestions
.room.subscribe(root, ..., { isDeep: true })
), all LiveList deletion updates
will now also include the item that was deleted (#2008)@liveblocks/react-ui
Changelog
2.9.2
@liveblocks/node
Changelog
2.9.1
@liveblocks/client
ThreadData
: updatedAt
is always setundefined
values@liveblocks/react-ui
Composer
is disabled, its actions are now also disabled as expected.Composer
.Changelog
2.9.0
We are introducing pagination support to allow apps using threads and inbox notifications to be built in a more user-friendly way, where the initial load is faster and more data can be fetched incrementally as users interact with the app.
@liveblocks/react
Add pagination support to useInboxNotifications()
const {
inboxNotifications,
isLoading,
error,
// ✨ New in Liveblocks 2.9
fetchMore,
isFetchingMore,
hasFetchedAll,
fetchMoreError,
} = useInboxNotifications();
Add pagination support to useThreads()
and useUserThreads_experimental()
const {
threads,
isLoading,
error,
// ✨ New in Liveblocks 2.9
fetchMore,
isFetchingMore,
hasFetchedAll,
fetchMoreError,
} = useThreads({ query });