Hooks
Hooks
Client-side hooks for accessing Val content in React components.
useVal
Hook to access content from a Val module in client components.
Example
useValRoute
Hook for Val modules that use the .router() method. Takes parameters to resolve the correct route. See page router for more info.