Add the TTL property in useQuery & useQueryRenderer and modify the retain as suggested in the issue: facebook/relay#2829
Even if this proposal has not been accepted in the official repository, this does not involve any compatibility problem with relay-runtime and gives the possibility to fully use the features offered by wora/relay-store including:
- persistence of the store and recordSource in the main web & React Native storage
- Time To Live: allows you to define how long the Query data must be considered valid by the Garbage Collector.