Page Hooks

usePage()

When you are on a /pages template, any section, component, and or its children will have access to the page's data using the usePage() hook. That way, you do not have to drill this data down the props from the template.

Last updated