---
title: DataContext.Context
description: The context object used in `DataContext.Provider`.
version: 11.17.0
generatedAt: 2026-11-05T09:55:46.565Z
checksum: 090b7d977ba4be5e2c4c04d199a30a4048416c59f443a56985df2f80629d9c40
---

# DataContext.Context

## Description

The main context for [DataContext.Provider](/web/forms/DataContext/Provider) which the [Field](/web/forms/base-fields/) and [Value](/web/forms/Value/) components connect to (optional) for sources and callbacks when it is present. For custom field and value components, prefer [useFieldProps](/web/forms/create-component/useFieldProps/), [useValueProps](/web/forms/create-component/useValueProps/) or [Form.useDataValue](/web/forms/Form/useDataValue/) instead of consuming `DataContext.Context` directly. Direct reads from `data` or `internalDataRef.current` do not create a data subscription.
