Replication boundaries
Plexus models live on a Yjs document and use MobX for local reactivity. The models describe what is shared. Defining a synced accessor does not connect two peers. A provider and transport determine how document updates reach another process.
Yjs holds the document state and CRDT operations. Plexus does not replace Yjs.
Model layer
Section titled “Model layer”The model layer, @here.build/plexus, tracks decorated fields, child ownership, identity, and derived MobX views. See Models and ownership.
For a small first experiment, use Plexus.bootstrap(...) to create a root and inspect local mutation and reactivity before choosing a transport. Keep application-specific network configuration in the provider layer, not in model classes.
Transport
Section titled “Transport”The repo includes y-messageport and y-control-channel for MessagePort routing, and plexus-do for a Cloudflare Durable Object sync server. Choose an integration that fits your application. Creating a model does not deploy a server.
Once peers are connected, changes to synced fields can arrive from another peer and invalidate local MobX computations.
The existing Plexus docs have dedicated pages for fields, awareness, errors, and the model lifecycle. Use them for API and failure details. This page is a map, not a substitute for transport instructions.
Source contracts are plexus/README.md, plexus/packages/plexus/README.md, plexus/docs/src/guide/fields.md, and plexus/docs/src/laws/lifecycle.md. Package descriptions for plexus-do, y-messageport, and y-control-channel are in plexus/README.md.