MCPcopy
hub / github.com/pmndrs/react-spring / observerAdded

Function observerAdded

packages/core/src/FrameValue.ts:65–67  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

63 }
64
65 protected observerAdded(count: number) {
66 if (count == 1) this._attach()
67 }
68
69 protected observerRemoved(count: number) {
70 if (count == 0) this._detach()

Callers

nothing calls this directly

Calls 1

_attachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…