{"library":"rc-resize-observer","type":"library","category":null,"description":"rc-resize-observer is a React component that provides a declarative way to observe changes in the dimensions of its child elements, leveraging the browser's native `ResizeObserver` API. This package, currently at its last stable version `1.4.3`, wraps the observer logic, offering a simple `onResize` prop to receive `width` and `height` updates. Active development and new features, including a `useResizeObserver` hook, have since migrated to the successor scoped package, `@rc-component/resize-observer`, which is currently at version `1.1.2`. While `rc-resize-observer` remains functional for existing applications, new projects are strongly encouraged to use the `@rc-component/resize-observer` package for ongoing support and enhancements. It aims to offer efficient, non-blocking size monitoring without polling.","language":"javascript","status":"renamed","version":"1.4.3","tags":["javascript","react","react-component","react-resize-observer","resize-observer","typescript"],"install":[{"cmd":"npm install rc-resize-observer","imports":["import ResizeObserver from 'rc-resize-observer';","import type { ResizeObserverProps } from 'rc-resize-observer';"]},{"cmd":"yarn add rc-resize-observer","imports":[]},{"cmd":"pnpm add rc-resize-observer","imports":[]}],"homepage":"https://react-component.github.io/resize-observer","github":"https://github.com/react-component/resize-observer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rc-resize-observer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/rc-resize-observer/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}