Declarative effects for Formik forms
npm install formik-effectDeclarative Formik component for side-effects
```
npm install formik-effect --save
Note: this has peer dependencies of prop-types, react, and formik (obvs)
Import the component and put it inside any Formik form. It renders null! Pass it an onChange() function and it will be called whenever your Formik form updates.
`js
import React from 'react'
import { Formik, Field, Form } from 'formik'
import { Effect } from 'formik-effect'
export const Signup = () =>
$3
Only one!
####
onChange: (currentState: FormikStatePut your side effect here....
FormikState includes:-
values
- errors
- touched
- isSubmitting`- Jared Palmer @jaredpalmer