1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-05 20:15:31 -04:00

refactor: migrate contact form to TanStack Form

- Replace manual state management with @tanstack/react-form
- Add proper Field/FieldLabel components for accessibility
- Simplify server action (remove useActionState signature)
- Remove use-debounce dependency
- Update PGP key links and minor styling tweaks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-29 22:08:54 -05:00
parent 013311a618
commit bcc595e141
7 changed files with 266 additions and 180 deletions
+1 -1
View File
@@ -47,6 +47,7 @@
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@t3-oss/env-nextjs": "^0.13.10",
"@tanstack/react-form": "^1.28.0",
"@vercel/analytics": "^1.6.1",
"@vercel/functions": "^3.4.0",
"@vercel/speed-insights": "^1.3.1",
@@ -98,7 +99,6 @@
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"unified": "^11.0.5",
"use-debounce": "^10.1.0",
"zod": "^4.3.6"
},
"devDependencies": {