Skip to content
Source
Sign inSign up
TanStack/form

[Docs] Form Authoring Recommendation Docs #1533

Send to my agent
Opencrutchcorn(GitHub profile, opens in a new tab) opened this issue 1 comment

This document should outline the two approaches enabled by Form:

  • Form first
  • Field first

Where field-first is more JSX template heavy and form-first is more standard schema focused.

We should provide an official recommendation for form-first.

However, those that prefer field-first APIs or need one-off behaviors can still use fields; it just centralizes more logic in your JSX

  1. crutchcorn(GitHub profile, opens in a new tab) added labelstype: docs

  2. By field first do you refer to the first approach on this docs page, I guess form first would then be the latter - or is it vice-versa?

    What's the TLDR regarding both approaches? Does it just come down to preference?

Sign in to join this conversation.