Ask HN: Building a multiplayer, offline-capable app in 2022 (like Figma, Linear) 14 points by tim_sw 3y ago ↗ HN Am curious what tools and stack you would use to build something like Figma or Linear in 2022
[–] stevenfabre 3y 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! [–] tim_sw 3y ago ↗ Thank you! Will take a look [–] yawnxyz 3y ago ↗ 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? [–] floflow 3y ago ↗ Yes there is! You can use @liveblocks/client: https://liveblocks.io/docs/api-reference/liveblocks-clientThere's also a tutorial for getting started here: https://liveblocks.io/docs/get-started/javascriptEnjoy :)
[–] yawnxyz 3y ago ↗ 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? [–] floflow 3y ago ↗ Yes there is! You can use @liveblocks/client: https://liveblocks.io/docs/api-reference/liveblocks-clientThere's also a tutorial for getting started here: https://liveblocks.io/docs/get-started/javascriptEnjoy :)
[–] floflow 3y ago ↗ Yes there is! You can use @liveblocks/client: https://liveblocks.io/docs/api-reference/liveblocks-clientThere's also a tutorial for getting started here: https://liveblocks.io/docs/get-started/javascriptEnjoy :)
4 comments
[ 3.1 ms ] story [ 20.7 ms ] threadI'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!
There's also a tutorial for getting started here: https://liveblocks.io/docs/get-started/javascript
Enjoy :)