deriv-pocs / deriv-developers-portal

Deriv proofs of concepts
1 stars 1 forks source link

Hubert / Migrating registration form and tabs with react-hook-form library #72

Closed hubert-deriv closed 2 years ago

hubert-deriv commented 2 years ago

Implementing the react-hook-library https://react-hook-form.com/get-started#Quickstart to rebuild the register app form in React.

It is a smaller library than Formik and easy, straightforward to use. It looks like that the documentation is also clear and up to date. Since we want to validate data with regex, handle different types of inputs, different types of data, being able to reset the form, etc. It seems like a good idea to have a library to handle a lot of the complex syntax and functionality that otherwise has to be written in vanilla javascript.

netlify[bot] commented 2 years ago

Deploy Preview for qa-deriv-api ready!

Name Link
Latest commit 58959cf24869b47c3f65ac0e1b49013aa2d80520
Latest deploy log https://app.netlify.com/sites/qa-deriv-api/deploys/626265a7fabf7a0008d8c232
Deploy Preview https://deploy-preview-72--qa-deriv-api.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] commented 2 years ago

Deploy Preview for keen-brahmagupta-df3e71 failed.

Name Link
Latest commit 58959cf24869b47c3f65ac0e1b49013aa2d80520
Latest deploy log https://app.netlify.com/sites/keen-brahmagupta-df3e71/deploys/626265a7ffec720009ef8444