QueryCache not being updated after a successful mutation
I’m posting a new todo to a json placeholder. Now the mutation is successful and server state gets updated with the new todo. But even after invalidating queries in onSettled, refetch returns the old todos.
Please help me with this as I’ve been losing mind over this for past couple of nights
Please help me with this as I’ve been losing mind over this for past couple of nights
