Skip to content

v3.0.0

Compare
Choose a tag to compare
@wellyshen wellyshen released this 06 Apr 13:35
· 22 commits to master since this release

πŸ’₯ 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)