5 ms·
I don't think Relay is used that much outside of Facebook. The community seems to have settled on Apollo. Personally I find Apollo over-engineered. When I could
by kasbah 6y ago
I don't think Relay is used that much outside of Facebook. The community seems to have settled on Apollo. Personally I find Apollo over-engineered. When I couldn't delete things from the cache, because of a bug, and was faced with digging into the complex code-base, I ended up just using straight JSON with a HTTP client/fetch and caching in a simple JS object.
Other users of my API [1] just use straight HTTP with JSON as well. GraphQL clients seem to solve something we are not encountering. If urql [2] or gqless [3] work well when I try them I'd be up for changing my mind though.
[1]: https://github.com/kitspace/partinfo https://github.com/kitspace/partinfo
[2]: https://github.com/FormidableLabs/urql https://github.com/FormidableLabs/urql
[3]: https://gqless.dev/ https://gqless.dev/
- striking 6y agoRelay has quite a few users, a partial list of which you can find at https://relay.dev/en/users https://relay.dev/en/users. I personally prefer it myself.
- andrewingram 6y agoRelay has a PR problem and i'm not 100% happy with it, but I've been using it since 2015 (never worked at Facebook) and would still choose it over Apollo. Main reason is that Apollo is geared towards getting up and running easier, but this leads to a worse overall experience beyond that point.