Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

Subscribe.md

34 lines629 Bytes

function Subscribe<TSourceData, TSelected>(props): ReactNode;

Defined in: packages/react-form/src/Subscribe.public.tsx:36

A React component that allows you to subscribe to source state.

This is useful for opting into state re-renders for specific parts of the state.

Type Parameters

TSourceData

TSourceData

TSelected

TSelected

Parameters

props

SubscribeProps<TSourceData, TSelected>

Returns

ReactNode