Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

NicholasPeretti/subforms-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project was bootstrapped with Create React App.

Subforms example

This repository has been created as a collection of use-cases where subforms can help.

The application has the following use-cases:

  • sign up
  • logged user checkout
  • anonymous user checkout

All those forms share some kind of logic and a lot of fields. Thanks to subforms, you can keep your code DRY and maintain it more easily.

You can read more about the concept of subforms here: https://dev.to/nicholasperetti/the-concept-of-subforms-with-react-and-formik-55mh

Contributions

This repo serve as a guideline on how you should hanlde subforms. Anyhow, all the ideas and methodologies described in the article and used in the codebase are not final.

If you have an idea on how to improve the process of handling forms, please submit a PR.

About

Example of how use subforms in a React application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •