Refetch does not rerender
Hey I have the occurance that I refetch but then my components just load the old data so you have to reload to show the changes. This is my current code. I call this mutate function in my Child component. Does anybody know how I could fix this?
1 Reply
eastern-cyanOP•16mo ago
I checked and it does refetch but formik.setValues sets the initial values which should be the data
and there is the problem
If it rerenders the data should be the new one
but it is the old one
This is my formik
I see my formik is the problem
nvm got it