Re:GraphQL is quickly moving to one of my least favorite tec...
by soulchild77 on Tuesday August 02, 2022 @09:16AM
(#32318089)
react-query indeed doesn't automatically take care of this. We manually invalidate its caches (based on the query key, so you only ever invalidate what has changed) after a mutation happens. It's not as bad as it sounds because most of the time it's just one line of code.
[ Parent
| on HN ]
There are no comments on this comment yet.