API reference of `@frontity/hooks` package
This package is a collection of React hooks that have proven to be pretty useful for a Frontity project.
@frontity/hookspackage to your project:
npm i @frontity/hooks
In order to use it, you just have to import the hook you want to use in your theme from
@frontity/hooksand place it wherever needed. For example, if we want to use the
import useInView from "@frontity/hooks/use-in-view";
These are the hooks available from the package