This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Add caching across QueryRenderers #1137
Open
Description
Relay Classic required servers to include a Node
interface that implements an id: String!
field for caching and re-queries. Relay Modern drops this requirement, and as such, does not do any caching of data across QueryRenderer
mounts (ref: facebook/relay#1819).
To fix this, we'll likely have to implement our own caching at the network layer; see the referenced issue for more info, but some candidates are the relay-query-lookup-renderer package and RelayQueryResponseCache.