apollo-link-token-refresh VS react-relay-network-modern

Compare apollo-link-token-refresh vs react-relay-network-modern and see what are their differences.

apollo-link-token-refresh

Apollo Link that performs access tokens (JWT) renew (by newsiberian)

react-relay-network-modern

Relay Modern Network Layer with middlewares — cache, auth, retry, batch, logger, SSR (by relay-tools)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
apollo-link-token-refresh react-relay-network-modern
1 1
336 322
- 0.9%
5.0 2.3
4 months ago 3 months ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

apollo-link-token-refresh

Posts with mentions or reviews of apollo-link-token-refresh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-27.

react-relay-network-modern

Posts with mentions or reviews of react-relay-network-modern. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-27.
  • Graphql Clients with Axios-like interceptors
    3 projects | /r/graphql | 27 Mar 2021
    Relay: Since relay uses a custom fetchGraphQL function, you have access to all the header information. But I suspect what you're really looking for is something like the authMiddleware in react-relay-network-modern which does an accessToken refresh and query refetch when the token is expired.

What are some alternatives?

When comparing apollo-link-token-refresh and react-relay-network-modern you can also consider the following projects:

axios - Promise based HTTP client for the browser and node.js

react-static-boilerplate - Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay [Moved to: https://github.com/kriasoft/react-firebase-starter]

react-firebase-starter - Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay

found-relay - Relay integration for Found

parse-server - Parse Server for Node.js / Express