You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using Formik for the first time and I landed on the tutorial page and without reading the docs properly I copied the first code snippet (I tend to beleive I am not the only person doing this 🤦🏽 ) So ended up with an annoying bug with the cursor:
Screenshots
It turned out I just had to use <Formik /> instead of useFormik in the first basic example.
Now that I understand the structure of the docs I appreciate how it describes the underlying structure but I wish there was a more attention-grabbing alert to point newbie users to a real 'basic' example.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was using Formik for the first time and I landed on the tutorial page and without reading the docs properly I copied the first code snippet (I tend to beleive I am not the only person doing this 🤦🏽 ) So ended up with an annoying bug with the cursor:
Screenshots
It turned out I just had to use
<Formik />
instead ofuseFormik
in the first basic example.Now that I understand the structure of the docs I appreciate how it describes the underlying structure but I wish there was a more attention-grabbing alert to point newbie users to a real 'basic' example.
Thank you ❤️
Beta Was this translation helpful? Give feedback.
All reactions