VexConfigContext
constVexConfigContext:Context<VexClientConfig|null>
Defined in: packages/react/src/config/VexConfigContext.tsx:27
Holds the live VexCMS client config for the duration of the admin session — the single provenance for config, access, and client-upload functions.
Populated by the app’s single VexConfigProvider mount
(components/providers/client.tsx), at the app root so the admin panel and
the public site read one provenance. It imports ~/vex.config directly. Because that module is a
"use client" file importing vex.config directly, Turbopack’s Fast
Refresh re-evaluates it when any collection file changes — which updates
this context and re-renders all consumers, including CollectionListView
and ListViewCreateDocumentModal, without a full page reload.
Default value is null, so a consumer rendered outside any provider gets a
clear thrown error from useVexConfig() instead of a silently empty config.