Hi there, I wanted to what does the component Que...
# developers
h
Hi there, I wanted to what does the component QueryCell (and withQuery)do https://github.com/calcom/cal.com/blob/main/apps/web/lib/QueryCell.tsx I am working on an issue on which I might need to wrap the component in it https://github.com/calcom/cal.com/issues/3573 I think they are used to manage the loading, error , and success states. I am not sure of it as I find it very hard to read what the component is doing. @zomars
z
Basically what you’ve described. A wrapper for trpc queries. Although if you ask me they add more complexity and are kinda unlegible so I'd rather deprecate them over using plain trpc queries
h
cool, Can you have a look at this pr https://github.com/calcom/cal.com/pull/3591 if this is fine to go, I can work on other routes.