Adding Liveblocks to existing useState hooks

Not recommended

Note that this is not the recommended way to build your app. We recommend using conflict-free data types and the useStorage and useMutation hooks, to take full advantage of our features.

You can easily add Liveblocks to an existing useState hook by broadcasting and listening to events.