3 ms·
Ask HN: Building a multiplayer, offline-capable app in 2022 (like Figma, Linear)
Am curious what tools and stack you would use to build something like Figma or Linear in 2022
- stevenfabre 4y agoHi Tim, I'm a bit biased but https://liveblocks.io 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-multiplayer-environment https://liveblocks.io/blog/how-to-build-undo-redo-in-a-multi... - https://liveblocks.io/blog/how-to-animate-multiplayer-cursors https://liveblocks.io/blog/how-to-animate-multiplayer-cursor... Happy to answer any questions you may have!
- tim_sw 4y agoThank you! Will take a look
- yawnxyz 4y agoI love this! But my entire stack is in Svelte / Sveltekit — will there be a Svelte version or a vanilla JS version we could use?
- floflow 4y agoYes there is! You can use @liveblocks/client: https://liveblocks.io/docs/api-reference/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 https://liveblocks.io/docs/get-started/javascript Enjoy :)