MCPcopy Index your code
hub / github.com/react/react / handleResize

Function handleResize

packages/react-devtools-shared/src/devtools/views/hooks.js:128–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 const container = ((containerRef.current: any): HTMLDivElement);
127
128 const handleResize = () =>
129 setIsOverflowing(container.clientWidth <= totalChildWidth);
130
131 handleResize();
132

Callers 1

useIsOverflowingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected