#Reusable TanStack Form Components

2 messages · Page 1 of 1 (latest)

prisma idol
#

In React Hook Form, you can create form-context where you can use your form inputs in a react-hook-form context
then you can do stuff like this:

<Form.Provider>
  <MyInput name="firstName" label="First Name" />
  <MyTextArea name="note" label="Note" />
</Form.Provider>

is there a way to do that in TanStack Form, to not always use

<form.Field ...

for every html input and to have something reusable and lighter for all my forms?

viscid pulsar
#

please ask in #1100436934205124660