HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
local-first-web
state
TypeScript2021–2021
local-first-web / state · Archived

state

A Redux-based state container for local-first software, offering seamless synchronization using Automerge CRDTs. (Formerly known as 🐟 Cevitxe).

2Distinct people
2Mentions
0Explicit recommenders
194GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A Redux-based state container for local-first software, offering seamless synchronization using Automerge CRDTs. (Formerly known as 🐟 Cevitxe).

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2021-12-08 18:56:14 UTC to 2021-12-08 20:29:37 UTC.

012021-12-08 18:00:00 UTC to 2021-12-08 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 8, 18:002021-12-08 19:00:00 UTC to 2021-12-08 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 8, 19:002021-12-08 20:00:00 UTC to 2021-12-08 21:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 8, 20:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 8, 18:002021-12-08 18:00:00 UTC2021-12-08 19:00:00 UTC101
Dec 8, 19:002021-12-08 19:00:00 UTC2021-12-08 20:00:00 UTC000
Dec 8, 20:002021-12-08 20:00:00 UTC2021-12-08 21:00:00 UTC101

What Hacker News says

2 sources
Hi! Great questions :) First of all, SyncedStore does not implement any CRDT algorithms. Credits for this go to Yjs [1] (and its author Kevin), which it uses as underlying CRDT. Yjs and Automerge are (afaik) the two most commonly used CRDT implementations. Both have their pros and cons, but Yjs has focused a lot on performance [2]. Automerge has a bit friendlier "Immer style" [3] API. I'm not too familiar with @localfirst/state, but it seems to add a Redux style API on top of Automerge. My approach with SyncedStore was really to provide an API on top of Yjs that's as simple as possible to use in React / Vue / Svelte or plain JS app. I.e.: only use a single React Hook to observe changes, and use regular Javascript assigments to update values. The API is inspired mostly by Reactive Programming libraries such as MobX [4] (from the same autho
Read the rest
r as Immer). Hope you're still following along :) Maybe it helps to compare the TODO-MVC applications, as both SyncedStore (https://github.com/YousefED/SyncedStore/tree/main/examples) and @localfirst/state (https://github.com/local-first-web/state/tree/main/examples/...) have implemented these as examples! [1]: https://github.com/yjs/yjs [2]: https://github.com/dmonad/crdt-benchmarks [3]: https://github.com/immerjs/immer [4]: https://mobx.js.org/
In Show HN: SyncedStore CRDT – build multiplayer collaborative apps for React / Vue
Would you care to compare this with for example @localfirst/state, automerge and automerge-rs (latter two provide the CRDTs, i.e. similar to Yjs)? https://github.com/local-first-web/state https://github.com/automerge/automerge https://github.com/automerge/automerge-rs By the way despite that particular repo (@localfirst/state) last being touched 6 months ago, Herb Caudill definitely seems still active in this space (I believe he's been working on other parts of this more recently -- e.g. ideas about authentication), and I think automerge development itself (Martin Kleppmann) is quite active right now leading up to a 1.0 release which seems fairly imminent, for which a lot of fundamental work has been done, also coordinating with automerge-rs.
In Show HN: SyncedStore CRDT – build multiplayer collaborative apps for React / Vue

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.