Skip to content

pass useCallback function to Formik innerRef? #3271

Answered by mdecurtins
mdecurtins asked this question in Q&A
Discussion options

You must be logged in to vote

It turns out that using the useFormik hook with the FormikProvider context provider as described here (#2746) does exactly what I'm looking for. I spent hours searching for a solution and some documentation of this "pattern" of Formik usage would have been incredibly helpful.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdecurtins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant