@liveblocks/react
useObject
, useList
and useMap
are now accepting an additional argument to initialize the underlying data structure directly from the hook.
Example
useObject("key", { firstName: "Ada", lastName: "Lovelace" });
Don't miss a new liveblocks release
NewReleases is sending notifications on new releases.