toptal-build
released this
10 Oct 10:02
·
11 commits
to master
since this release
Major Changes
- #4572
0dbab90
Thanks @TomasSlama!
useOnScreen
- change return value of the hook to let component know when the oberver starts observing
-const isOnScreen = useOnScreen({...})
+const { isOnScreen, isObserved } = useOnScreen({...})