Skip to content

Conversation

jariz
Copy link

@jariz jariz commented Oct 18, 2019

This is a reimplementation of formik-effect with hooks.
It should be fully backwards compatible (just not with react <16.8, of course).

formik: FormikContext<Values>;
}

export const Effect = <Values>({ formik, onChange }: Props<Values>) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Named export is not going to work as it's not connected with formik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants