MCPcopy
hub / github.com/spicetify/cli / componentWillUnmount

Method componentWillUnmount

CustomApps/reddit/index.js:223–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 componentWillUnmount() {
224 gridUpdateTabs = gridUpdatePostsVisual = null;
225 const viewPort = document.querySelector(this.viewportSelector);
226 lastScroll = viewPort.scrollTop;
227 viewPort.removeEventListener("scroll", this.checkScroll);
228 this.configButton.deregister();
229 }
230
231 isScrolledBottom(event) {
232 const viewPort = event.target;

Callers

nothing calls this directly

Calls 1

deregisterMethod · 0.45

Tested by

no test coverage detected