Hacker News new | ask | show | jobs
by stevenfabre 1313 days ago
Hi Tim,

I'm a bit biased but https://liveblocks.io is great for that :)

If you know how to use React, that's pretty much all you need to know. It also includes some nice hooks to enable things like multiplayer undo/redo and live cursors.

The team even put a couple of interactive blog posts about that that you might find interesting: - https://liveblocks.io/blog/how-to-build-undo-redo-in-a-multi... - https://liveblocks.io/blog/how-to-animate-multiplayer-cursor...

Happy to answer any questions you may have!

2 comments

I love this! But my entire stack is in Svelte / Sveltekit — will there be a Svelte version or a vanilla JS version we could use?
Yes there is! You can use @liveblocks/client: https://liveblocks.io/docs/api-reference/liveblocks-client

There's also a tutorial for getting started here: https://liveblocks.io/docs/get-started/javascript

Enjoy :)

Thank you! Will take a look