7 Commits

Author SHA1 Message Date
xobotyi
b6993a6f95
feat(prettier): make prettier a part of eslint.
Also reduce max line width to 100. And remove `lint:types` step for
commit sequence, it bothers when committing incomplete (wip) changes.
2021-02-01 18:58:55 +03:00
ddaza
db07ab65bf updated formating and fixed errors 2020-07-02 14:56:15 -05:00
Ayush Goyal
67d65833d9 chore: disable eslint for affected files 2020-02-04 07:12:19 +05:30
dizel3d
4f6d3887be fix(useIntersection): return null if IntersectionObserver is not supported 2020-01-28 00:26:08 +03:00
dizel3d
3f8687e1f5 fix(useIntersection): reset an intersectionObserverEntry when the ref changes 2020-01-28 00:25:57 +03:00
dizel3d
ac2f54a8f6 fix(useIntersection): disconnect an old IntersectionObserver instance when the ref changes 2020-01-27 23:57:36 +03:00
Kevin Norris
d5f359f7e3 feat: useIntersection (#652)
React sensor hook that tracks the changes in the intersection of a target element with an ancestor element or with a top-level document's viewport, using the Intersection Observer API
2019-10-12 19:22:23 +11:00