I’m curious what graphql client you’re using (for the web) — specifically looking for something:
1. Simple
2. Reliable
This rules out apollo IMO, what else you got?
what about with subscriptions and optimistic updates? I’ve tried urql too, but it also is a bit too complex / misses a few cases. Vercel’s swr looks nice in terms of simplicity / debug-ability. Is there anything like that for graphql specfically?
j
JY
02/02/2021, 5:47 AM
Ahhh. In this case I’m not sure. I assumed that what you meant by “simple” was just pure graphql queries.
i
ibash
02/02/2021, 5:50 AM
hmm yeah, maybe I want too much. Mostly it’d be nice to set it up once and then be guaranteed to have a consistent / bug free access to data.
r
Ryan
02/02/2021, 6:43 AM
You could try React Query. I personally find it better than SWR in terms of API and features.