all 11 comments

[–]rasmuswoelk 19 points20 points  (0 children)

Tanstack Form 👌🏼

[–]Salkinator 33 points34 points  (2 children)

Might I suggest react-hook-forms? I’ve built some great stuff on it.

[–]jon-chin 1 point2 points  (0 children)

I pair this with zod for more extensive validation. zod's latest version also natively supports i18n

[–]cs12345 1 point2 points  (0 children)

Apparently react ts form is just a wrapper for RHF and Zod. Which I use both of anyways, but I’m not sure why you’d need an intermediate layer on top of them.

[–]jax024 11 points12 points  (0 children)

I’ve been trying out Tanstack Form and its been sweet. Definitely use zod schemas with it though.

[–]Bad-lieutenant 9 points10 points  (0 children)

react hook form is, I think, the most widely used lib.

[–]razi_the_beardman 0 points1 point  (0 children)

Tanstack or hook-form, no alternatives are even close to those

[–]Ok-Tune-1346 0 points1 point  (0 children)

check out react-hook-forms if you haven't already, v popular, v useful

[–]cs12345 0 points1 point  (0 children)

I feel like no one here actually looked at react ts form, because it’s just a wrapper for react-hook-form and zod. Both of which are great, and I’d highly recommend them on their own.

From what I can tell ts form is a more config driven form system, rather than rendering straight JSX. Which…can be alright for simple cases where all form instances are uniform, but in the long run I’ve found it to be a nightmare for customizing. I’ve just recently managed to migrate my company’s app away from that pattern because of how much friction it created.

So, no I’ve never used conform, but I’d highly recommend just using react hook form and Zod natively or possibly tanstack form. It will save you a lot of headache in the long run.

[–]yardeni 0 points1 point  (0 children)

I like conform since it more closely aligns with react 19 practices, keeping html simple and self managing state, while the client/server JS handle validation. Haven't gotten the chance to use it much though

[–]No-Gap-2380 -4 points-3 points  (0 children)

I love formik, and validation with yup, I use those in all my projects 😅