/react-form-validation-example

An example complete with unit/integration testing of form validation both client and server side

Primary LanguageTypeScript

React Final Form example with form validations

This is the source code for this article React Form Validation

Built with

Tested with

Installation

  • Install project dependencies
yarn install

Tests

Unit tests run automatically as part of the dev build server, but if you were to want to run them independently:

yarn test

Start

To start the application, make sure your dependencies installed correctly, then run

yarn start

How to use?

This project follows traditional React design patterns. Presentation/Functional components, Hooks, Error Boundaries, etc. Folder structure should be self explanatory, but components live in components/, feature components live in sections/ and any shared services like in services/

License

MIT © Joseph Tongay