Type alias ObserverKind

ObserverKind: "deep" | "shallow" | "none"

Represents possible values to pass to hooks that return Yjs objects, which determines whether or not they trigger a re-render when the Yjs object changes.

  • 'deep' will re-render when any nested property changes.
  • 'shallow' will re-render when the object itself changes.
  • 'none' will never re-render.