Entity / One domain declaration
When to use another approach
- Small domains with no forms: Remote's built-in
Entity.makeandEntity.refrequire less ceremony and compose cleanly alongsidefoldkit-entitylater. - Offline multi-device merging: Declared writes settle on one server; offline edits that merge across devices belong in Replicated state and Editing server data through a journal.
- Event-sourced servers: If your backend models commands and events with
@alchemy.run/domain,foldkit-remote-domainbridges those same Remote declarations to your domain; seeexamples/writes-domain.