react-relay-network-modern
found-relay
Our great sponsors
react-relay-network-modern | found-relay | |
---|---|---|
1 | 1 | |
322 | 278 | |
0.9% | 0.0% | |
2.3 | 0.0 | |
3 months ago | 16 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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.
react-relay-network-modern
-
Graphql Clients with Axios-like interceptors
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.
found-relay
-
Understanding render-as-you-fetch with Relay
So now we need to find a suitable router that can support this pattern of requesting data outside of the render path. The relay community has built an extension to Found - but it hasn't been updated for render-as-you-fetch. The Found router itself is quite flexible and extensible and so you could potentially implement entrypoints on top, but I haven't seen an example of this. As for other routers, I haven't seen any that aren't taking the react-router approach.
What are some alternatives?
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]
found - Extensible route-based routing for React applications
react-firebase-starter - Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
react-relay - Relay is a JavaScript framework for building data-driven React applications.
axios - Promise based HTTP client for the browser and node.js
relay-examples - A collection of sample Relay applications
apollo-link-token-refresh - Apollo Link that performs access tokens (JWT) renew
pre-router - A router for React with code and data preloading at its core
parse-server - Parse Server for Node.js / Express