Server side
Server side functions
Server-side functions for accessing Val content in React Server Components or server-side API routes.
fetchVal
Fetch content from a Val module on the server.
Example
fetchValRoute
Fetch content for Val modules that use the .router() method. Takes parameters to resolve the correct route. See page router for more info.