diff --git a/src/pages/docs/liveobjects/batch.mdx b/src/pages/docs/liveobjects/batch.mdx index 4d173ce388..4de143c36b 100644 --- a/src/pages/docs/liveobjects/batch.mdx +++ b/src/pages/docs/liveobjects/batch.mdx @@ -80,7 +80,7 @@ await rootObject.get('visits').batch((ctx) => { When you call `batch()` on a `PathObject`, the path is resolved to its underlying instance, and the batch context operates on that resolved instance. -You can only call `batch()` on an `PathObject` whose path resolves to a `LiveMap` or `LiveCounter` instance: +You can only call `batch()` on a `PathObject` whose path resolves to a `LiveMap` or `LiveCounter` instance: ```javascript diff --git a/src/pages/docs/liveobjects/concepts/instance.mdx b/src/pages/docs/liveobjects/concepts/instance.mdx index 68122576bc..15727973b7 100644 --- a/src/pages/docs/liveobjects/concepts/instance.mdx +++ b/src/pages/docs/liveobjects/concepts/instance.mdx @@ -27,6 +27,8 @@ meta_description: "Learn about Instance, a reference to a specific LiveObject in An `Instance` represents a specific object instance within the channel object. When you call methods on an `Instance`, they operate on that specific instance regardless of where it exists in the structure or whether it has been moved. +An `Instance` can also wrap a primitive value, for example when obtained from a path that resolves to a primitive. Primitive-backed instances are read-only and have no object ID. +