10000 Releases · garthenweb/react-viewport-utils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: garthenweb/react-viewport-utils

v0.3.0

10 Sep 20:07
Compare
Choose a tag to compare
  • [b85ce87] new ObserveViewport component which allows updates to the viewport without the overhead of rendering via a HOC which comes in handy in performance critical situations where scroll or dimensions properties are not directly used in the render function
  • [a955605] throttle scroll events to reduce the stress on the main thread
  • [be59e9b] cheeper shallow update checks

v0.2.0

02 Sep 17:08
Compare
Choose a tag to compare

ObserveBoundingClientRect

  • deprecate setInitials props
  • add onInit and onUpdate props
  • export IRect interface (typescript)

ViewportProvider

  • renamed connector from ConnectViewportScroll to ConnectViewport (old export is still available)
  • ConnectViewport also adds dimensions property to access the width and heigth of the client
  • fix name of higher order component
  • export IScroll and IDimensions interface (typescript)

v0.1.0

27 Aug 20:15
Compare
Choose a tag to compare
  • remove cache folders from bundle
  • reduce react peer dependency to v16.3
  • add link to npm on github page
  • export typescript types
  • fix issue where context was not propagated correctly when the deprecated context api was used on the application
0