Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor OPD Registration Form and Login/Register Form to use React Hook Form #116

Closed
ShreyasNandanwar opened this issue Oct 3, 2024 · 0 comments

Comments

@ShreyasNandanwar
Copy link
Contributor

The OPD Registration Form and Login/Register Form currently use conventional state management, which complicates handling multiple fields. Refactoring them to use React Hook Form (RHF) will provide several benefits:

  • Improved Validation and Error Handling
  • Easier Integration with UI Libraries
  • Reduced Boilerplate Code
  • Enhanced Performance

Action Items

  1. Refactor the OPD Registration Form to use RHF and implement validation.
  2. Refactor the Login/Register Form similarly.
  3. Test both forms to ensure proper functionality and integration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants