Top 2.8% downloads on npmjs.org
Top 3.2% dependent packages on npmjs.org
Top 5.0% dependent repos on npmjs.org
Top 8.9% forks on npmjs.org
npmjs.org : @render-props/rect
A state container which provides an interface for retrieving the bounding client rect of a referenced element. The bounding client rect will update each time the window resizes - a behavior which can be turned off by setting the prop `recalcOnWindowResize
Registry
-
Source
- JSON
- codemeta.json
purl: pkg:npm/%40render-props/rect
Keywords:
react
, render props
, function as child
, hoc
, state container
, rect
, domrect
, getBoundingClientRect
, size
, width
, height
, debounce
, dom
, function-as-child
, mouse-events
, paragraph
, render-props
, scrolling
, state-container
, viewport
License: MIT
Latest release: almost 7 years ago
First release: about 8 years ago
Namespace: render-props
Dependent packages: 6
Dependent repositories: 5
Downloads: 658 last month
Stars: 34 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/jaredLunde
Last synced: about 2 months ago