react-resize-detector v9 is producing warnings with React 18. The child function pattern <ReactResizeDetector/> is removed from react-resize-detector v10. Only the useResizeDetector hook is supported, which can only applied with functional components.
We could consider replacing react-resize-detector with blueprint <ResizeSensor/> + throttling.
react-resize-detector
v9 is producing warnings with React 18. The child function pattern<ReactResizeDetector/>
is removed fromreact-resize-detector
v10. Only theuseResizeDetector
hook is supported, which can only applied with functional components. We could consider replacingreact-resize-detector
with blueprint<ResizeSensor/>
+ throttling.