π₯ Breaking Change
- Use named export instead of default export to import the hook.
- import useInView from "react-cool-inview";
+ import { useInView } from "react-cool-inview";
β¨ New Feature
- Supports
InView
component, see the example to learn more (thanks to @max-sym)