Function
The course a course route serves, or null when the slug is malformed or names no course — the page then renders its error state.
null
Cached per request, so a page and its generateMetadata load it once.
generateMetadata
The course a course route serves, or
nullwhen the slug is malformed or names no course — the page then renders its error state.