-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
react-relay-network-modern
Relay Modern Network Layer with middlewares — cache, auth, retry, batch, logger, SSR
I'm working with Graphql but I'm having trouble finding the equivalent of Axios interceptors for Graphql clients. I've checked Apollo, Relay and Graphql Request clients but none of them seem to be able to intercept responses/requests.
You can easily achieve that with Apollo using links. There is even an npm package that already does that. https://github.com/newsiberian/apollo-link-token-refresh
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.