Commit 209e246
committed
Add useOnFormValueChange hook with Storybook examples
- Created useOnFormValueChange hook for reactive form behaviors
- Hook watches specific fields and executes callbacks on value changes
- Added comprehensive Storybook story with 3 examples:
- Cascading dropdowns (country -> state selection)
- Auto-calculation (order totals with discount)
- Conditional fields (show/hide based on selection)
- Includes full TypeScript types and JSDoc documentation
- Added interactive tests for all story examples1 parent 7788aa7 commit 209e246
File tree
4 files changed
+602
-0
lines changed- apps/docs/src/remix-hook-form
- packages/components/src/remix-hook-form
- hooks
4 files changed
+602
-0
lines changed
0 commit comments