Skip to content

Is it possible to use values from form in uncontrolled mode as keys in react query? #6966

Answered by rtivital
dmitry-ff asked this question in Q&A
Discussion options

You must be logged in to vote

Uncontrolled form does not trigger a rerender – react query keys will not be updated when values change. In this case, it is better to use controlled form mode.

Replies: 1 comment

Comment options

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