use query on success/error/settled are being deprecated.
Since the above call backs are being deprecated, I'm attempting to implement the suggested solution (react-query screenshot) with tRPC. After some reading of the tRPC documentation I found that you can create a query client config in createTRPCNext, and I got to work, but I'm looking for some feedback to make sure I'm not breaking anything internally by using QueryCache()
0 Replies