@render-props/rect

v0.1.22
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
react render props function as child hoc state container rect domrect getBoundingClientRect size and 3 more...

npm i @render-props/rect

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 3/20/2019

Downloads

Maintainers