Files
moyosapp_beta.0.0.3.3_beta1/scripts
moyoza 5d8a72b0a5 feat: Add handler validation script to prevent undefined function errors
- Create validate-handlers.js script to check for undefined event handlers
- Add npm run validate:handlers command
- Add prebuild hook to run validation before builds
- Add ESLint no-undef rule to catch undefined references
- Add documentation in scripts/README-validation.md

Prevents issues like 'ReferenceError: handleSaveEditGuestbook is not defined'
by validating all onClick/onChange/onSubmit handlers are defined before use.

The script:
- Scans all React components for event handlers
- Verifies functions are defined in component scope
- Excludes props and imported functions
- Runs automatically before builds
- Can be run manually: npm run validate:handlers
2026-01-22 17:30:22 +02:00
..
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00
2026-01-16 19:04:48 +02:00