MCPcopy
hub / github.com/lelandrichardson/react-primitives / teardown

Function teardown

example/web/perf.js:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6const node = document.querySelector('.root');
7const setup = () => {/* */};
8const teardown = () => ReactDOM.unmountComponentAtNode(node);
9
10const ReactPrimitives = require('react-primitives');
11const ReactNativeWeb = require('react-native-web');

Callers 2

benchmarkFunction · 0.85
cFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…