Skip to content

High performance state manager with network sync out of the box

github.com/mstdokumaci
6 pointsmstdokumaci5 comments
On HN

Comments

What are the applications/use cases for this library that weren't readily available before?

You can get the same functionality by using an existing state manager, a socket library, and your own tree diffing algorithm. This is just a baked pie ready to eat, along with some syntax sugar :) Here is a very simple example usage: https://github.com/mstdokumaci/stx-vue-example

I get the picture, looks really useful. Maybe the tagline "Batteries included data structure / state manager." Could be something more like "minimal web socket synchronized state manager" or something like that.

What would be perfect usecase for this library?

Since it helps most with keeping same content sync among multiple devices, I assume it's a good fit for any kind of content publishing. Want to compete with Medium or Netflix, here you start :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.