How to modify Liveblocks Storage from the server
In realtime applications, Liveblocks Storage is generally modified from the browser with useMutation or through conflict-free data methods. However, it can also be useful to modify your realtime storage from server-side Node.js too.
What we’re doing
In this guide, we’ll demonstrate how to easily modify storage from the server. We’ll do this using @liveblocks/node.
Start modifying storage
We can now start modifying storage from the server!
route.ts