Skip to content

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

@morrys

Description

@morrys

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions