@liveblocks/redux
Advanced tools
Changelog
v2.17.0-rc1
@liveblocks/client
Report a console error when a client attempts to send a WebSocket message that is >1 MB (which is not supported). Previously the client would silently fail in this scenario.
Added a new client config option largeMessageStrategy
to allow specifying
the preferred strategy for dealing with messages that are too large to send
over WebSockets. There now is a choice between:
default
Don’t send anything, but log the error to the consolesplit
Split the large message up into smaller chunks (at the cost of
sacrificing atomicity). Thanks @adam-subframe for the contribution!experimental-fallback-to-http
Send the message over HTTP instead of
WebSocketDeprecated the unstable_fallbackToHTTP
experimental flag (please set
largeMessageStrategy="experimental-fallback-to-http"
instead).
@liveblocks/react-ui
Composer
is unmounted during its onComposerSubmit
callback.@liveblocks/react
<LiveblocksProvider largeMessageStrategy="..." />
prop to
LiveblocksProvider. See above for possible options.@liveblocks/react-ui
Composer
is unmounted during its onComposerSubmit
callback.Changelog
v2.16.2
@liveblocks/react
@liveblocks/zustand
set()
is used
(thanks @hans-lizihan)