The application includes everything you need to perform the refactor from a standard managed form to a form with states and errors managed by the react-hook-form library.
- All packages needed installed โ
- Form tested with testing-library + gherkin โ
- Documentation for a quick setup and links to handy external documentations โ
- Fully functionnal form, ready to be refactored โ
- Form and validation fully typed with TypeScript โ
Clone the repository to your local machine ๐ป
git clone https://github.com/Antoine-Regembal/dojo-react-hook-form.git
Install the application and dependencies ๐ง
Please make sure to use the exact same node version as the one defined in the package.json file on the "volta" object or directly use Volta (recommended) to avoid installing several node version yourself and let this tool manage them for you ๐ฅฐ.
cd dojo-react-hook-form && npm install
Make sure the tests are passing โ
npm run test
Launch the application, you are ready to go ๐ฅ
npm run dev
Good luck and have fun.