Article Hooks

useArticle()

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

Last updated