Does Tanstack Form uses native Web-API (e.g. checkValidity) for validations? #1087
-
Does the TanStackForm
Does the TanStackForm
If not, would there be advantages (performance, etc) if Currently, I have an uncontrolled react form:
which does not make use of TanstackForm-Api. It only uses native Web-Api. It is also possible to customize the native validation message by I ask because I'm considering switching to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The native web APIs do not sufficiently cover complex use cases; as such we do not utilize them. Further, it would intensely tie us to the web, whereas we support React Native and Nativescript as well. You can glue in TanStack Form into native APIs trivially if you wish, but it's an explicit non-goal for us. |
Beta Was this translation helpful? Give feedback.
The native web APIs do not sufficiently cover complex use cases; as such we do not utilize them.
Further, it would intensely tie us to the web, whereas we support React Native and Nativescript as well.
You can glue in TanStack Form into native APIs trivially if you wish, but it's an explicit non-goal for us.