Skip to content

Demo app that shows off how to manage forms in React with Formik

License

Notifications You must be signed in to change notification settings

dpashkevich/formik-demo

Repository files navigation

Managing React forms with Formik (demo app)

Build

This is a demo application that implements a simple login form using vanilla React and using Formik for comparison.

Screenshot of the demo app showing a login form and a toggle between vanilla and Formik implementations

The vanilla React form implementation is in src/components/vanilla-form, and the Formik implementation is in src/components/formik-form.

This project was bootstrapped with Create React App.

Available scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

Demo app that shows off how to manage forms in React with Formik

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published