MCPcopy
hub / github.com/thebuilder/react-intersection-observer / unobserve

Method unobserve

src/InView.tsx:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 unobserve() {
136 if (this._unobserveCb) {
137 this._unobserveCb();
138 this._unobserveCb = null;
139 }
140 }
141
142 handleNode = (node?: Element | null) => {
143 if (this.node) {

Callers 5

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
componentWillUnmountMethod · 0.95
InViewClass · 0.95
observeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected