Releases: garthenweb/react-viewport-utils
Releases · garthenweb/react-viewport-utils
v0.3.0
- [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 wherescroll
ordimensions
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
ObserveBoundingClientRect
- deprecate
setInitials
props - add
onInit
andonUpdate
props - export
IRect
interface (typescript)
ViewportProvider
- renamed connector from
ConnectViewportScroll
toConnectViewport
(old export is still available) ConnectViewport
also addsdimensions
property to access the width and heigth of the client- fix name of higher order component
- export
IScroll
andIDimensions
interface (typescript)
v0.1.0
- 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