import { type Accessor, createContext, useContext } from "solid-js"; import type { FieldValidationMode, FieldValidityData, MutableRef, } from "./field-context"; /** * Mapping of field name → error(s). Populated by `