At the moment, example has a lot of "boilerplate" to accommodate multiple use-case demos, which can make the code harder than necessary to follow and understand.
Rather than having one example folder, let's create an examples folder with a sub-folder for each demo, e.g.:
+ examples
| basic-form-validation
| asynchronous-form-validation
| password-form-validation
I propose we use react-scripts to remove the need for webpack.config.js and other files not related to Revalidation. We should also use minimal styling in this folder to keep the examples focused on how Revalidation works 👍.
We could consider building a nice-looking demo for the website but keeping it separate from examples?
At the moment,
examplehas a lot of "boilerplate" to accommodate multiple use-case demos, which can make the code harder than necessary to follow and understand.Rather than having one
examplefolder, let's create anexamplesfolder with a sub-folder for each demo, e.g.:I propose we use
react-scriptsto remove the need forwebpack.config.jsand other files not related to Revalidation. We should also use minimal styling in this folder to keep the examples focused on how Revalidation works 👍.We could consider building a nice-looking demo for the website but keeping it separate from examples?