Docs
Reference
Functions
useCollection

useCollection

The useCollection function is a React hook that returns the corresponding collection in collection pages.

Usage

import { useCollection } from "builderoo";
 
const collection = useCollection()

Returns

a Collection