Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wora/relay-store] - Time To Live of the queries in the Store & Storage Persistence #72

Open
morrys opened this issue Mar 25, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@morrys
Copy link
Member

morrys commented Mar 25, 2020

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.
@morrys morrys added the enhancement New feature or request label Mar 25, 2020
@morrys morrys pinned this issue Mar 25, 2020
@morrys
Copy link
Member Author

morrys commented Mar 26, 2020

hi @stramel, given your contributions in this repository, I'd like your opinion about this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant