JTongay / react-form-validation-example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:TypeScript 64.9%Language:JavaScript 33.0%Language:HTML 1.3%Language:CSS 0.7%