--- id: formApi title: Form API --- ### `FormApi` When using `@tanstack/react-form`, the [core form API](../../reference/formApi) is extended with additional methods for React-specific functionality: - ```tsx Field: FieldComponent ``` - A pre-bound and type-safe field component, specific to this forms instance. - ```tsx useField: UseField ``` - A pre-bound and type-safe custom hook to use fields from this form instance. - ```tsx useStore>>(selector?: (state: NoInfer>) => TSelected): TSelected ``` - A custom hook to use the form store. - ```tsx Subscribe>>(props: {selector?: (state: NoInfer>) => TSelected; children: ((state: NoInfer) => React.ReactNode) | React.ReactNode}): any ``` - A subscription component to provide the selected form state to children.