The same deploy form built three times with PrimeReact in styled mode, once for each form library, so they can be compared side by side. All three validate with Zod.
npm install
npm run devThen open http://localhost:3000 and pick an example:
| Route | Library | Binding |
|---|---|---|
/react-hook-form |
React Hook Form | useForm and Controller with a zodResolver |
/tanstack-form |
TanStack Form | useForm and form.Field with a Standard Schema |
/formik |
Formik | useFormik with a Zod validation schema |
Every route renders the same PrimeReact components (InputText, Select, CheckboxGroup, Message, Button), so the only difference between them is how the form library reads values, passes changes on and shows errors.
components/prime-ssr-provider.tsxsets upPrimeReactProvider.
Read more in the PrimeReact styled mode docs.