Join Slack
Powered by
Hi there, I wanted to what does the component Que...
# developers
h
Hussam Khatib
07/31/2022, 3:45 PM
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
zomars
07/31/2022, 5:30 PM
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
Hussam Khatib
08/03/2022, 6:49 AM
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.
Open in Slack
Previous
Next