Post

referential stability is the big "gotcha" with useEffect, and the query key serialization tries to take that away for 99% of use-cases.

0 reposts2 likes

Yeah. I also think just using useQuery means your thought about these problem a bit more deeply so your way less likely to break it in this way as well.