jaredpalmer / formik-effect

Declarative component for managing side-effects in Formik forms. 580 bytes
https://npm.im/formik-effect
MIT License
166 stars 13 forks source link

Swap the order of the params to onChange #2

Closed erikras closed 6 years ago

erikras commented 6 years ago

The docs say the nextState is the second parameter to onChange.

jaredpalmer commented 6 years ago

yeah i just saw that too. i was copypasting from some pseudo code. should have ran it first lol.