2022-01-28
3353
#react
Nathan Sebhastian
3327
Jan 28, 2022 â‹… 11 min read

Building forms with Formik in React

Nathan Sebhastian A senior software developer with experience in building fullstack JavaScript app with React and Express. You can find me online at sebhastian.com.

Recent posts:

How to display notification badges on PWAs using the Badging API

Ding! You got a notification, but does it cause a little bump of dopamine or a slow drag of cortisol? […]

Chigozie Oduah
Sep 13, 2024 â‹… 4 min read
JWT Authentication: Best Practices And When To Use It

JWT authentication: Best practices and when to use it

A guide for using JWT authentication to prevent basic security issues while understanding the shortcomings of JWTs.

Flavio Copes
Sep 12, 2024 â‹… 5 min read

Auth.js adoption guide: Overview, examples, and alternatives

Auth.js makes adding authentication to web apps easier and more secure. Let’s discuss why you should use it in your projects.

Clara Ekekenta
Sep 12, 2024 â‹… 10 min read
Lucia Auth: An Auth.js Alternative For Next.js Authentication

Lucia Auth: An Auth.js alternative for Next.js authentication

Compare Auth.js and Lucia Auth for Next.js authentication, exploring their features, session management differences, and design paradigms.

Paul Akinyemi
Sep 12, 2024 â‹… 4 min read
View all posts

2 Replies to "Building forms with Formik in React"

  1. Hello, I think I found a mistake in your codesandbox:

    This line:
    onSubmit={({ setSubmitting }) => {
    Must be written like this:
    onSubmit={(values, { setSubmitting }) => {

    right?

  2. Hello, i think in the following paragraph
    Then, the thread sleeps for 5 seconds and the setSubmitting is called with Boolean value false, which sets the isSubmitting to false and the button becomes disabled.

    The last phrase should be “which sets the isSubmitting to false and the button becomes enabled”

Leave a Reply