Graphql client library for node js

please recommend a graphql client library for node js that you have experience with. thanks.

Apollo client is the most popular one but urql is another favorite

1 Like

can you please mention some of the downsides of using http library like axios. I have basically no idea, why not use axios. The only thing that comes to my mind is maybe caching of the requests.

Use whatever works for you. For a small use case a while back I sort of built my own GraphQL client using fetch that was just focused around throttling request throughput.

But the number one feature of using apollo is caching and local graph state management

2 Likes

Thank you.

1 Like