Skip to content
Compare
Choose a tag to compare
@toptal-build toptal-build released this 10 Oct 10:02
· 11 commits to master since this release
08c0fb5

Major Changes

useOnScreen

  • change return value of the hook to let component know when the oberver starts observing
-const isOnScreen = useOnScreen({...})
+const { isOnScreen, isObserved } = useOnScreen({...})