github liveblocks/liveblocks v0.12.1
0.12.1

latest releases: v1.12.0, v1.12.0-test2, v1.11.3...
2 years ago

@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.