Skip to content

COVERING_ROUTE_LINK_ATTRIBUTE

const COVERING_ROUTE_LINK_ATTRIBUTE: "data-vex-covering-route" = "data-vex-covering-route"

Defined in: packages/react/src/config/useFrameworkComponents.ts:218

Data attribute marking a link that opens a covering route (FrameworkComponents.useIsRouteCovered) instead of leaving the admin — e.g. AdminTopNav’s “Sign in”, which opens the app’s intercepted sign-in modal. A framework’s navigation blocker lets such a click through: the admin stays mounted underneath with its unsaved state intact, so nothing is being left.