react-relay-network-modern
react-relay-network-modern copied to clipboard
Relay Modern Network Layer with middlewares — cache, auth, retry, batch, logger, SSR
Hi, I'm not using this package, but currently, I have my implementation of a per query cache, basically returning a different `QueryResponseCache` based on the `request.name`, and having a default...
### Description How can we achieve using [relay's environment.retain()](https://babangsund.com/relay_environment_methods/#retain) to retain the data of a certain query and disable garbage collection? Reasoning: - "If no component is rendering the local...
Hello ! I don't really know how to handle token refresh with a `subscribeFn`, it's not connected with the authMiddleware so i can't handle 'token refresh' inside this `subscribeFn` ?...
Please drop a line if you use RRNM. In which apps, which middlewares are you using, maybe you wrote some custom middleware? Tnx.
Getting ``` Error: Cannot find module 'core-js/modules/es6.object.define-property' ``` when running my server. Installed: * `[email protected]` * `[email protected]` Installing `[email protected]` fixes the issue, but that's an obsolete dependency, would _really_ like...
I'm running into issues using `subscriptions-transport-ws` with this. The subscriptions never close and don't seem to be getting data. ```js import { SubscriptionClient } from 'subscriptions-transport-ws' // ... const client...
I'm trying to centralize my exception reporting with react-relay-network-modern and haven't found a very good way to do so yet within the confines of either the existing middleware or providing...
Latest's version fixes this issue ```bash ReferenceError: module is not defined (anonymous function) https://pwa.test:3000/static/js/0.chunk.js:87327:30 Module../node_modules/react-relay-network-modern/node_modules/extract-files/lib/ReactNativeFile.mjs ```
We used the relay middleware to help us cache some queries. One of being a query called ViewerIdQuery, it just fetches the id on the viewer. For some reason our...
I may just be really dense, but hopefully this feedback is helpful. I've been using Relay with a `fetchQuery` function as detailed in the [Relay docs](https://relay.dev/docs/en/fetch-query). Now I'd like to...