facebook / facebook/relay

[Modern] [react-native] Execute query outside of react component

Open
#2,048 2 comments 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Hi. Is it possible?
What I want to do:
I have a news feed which I want to update once in while trough background fetch while app is killed or in background. I want to execute same query I have on the news feed. Than I want to save the response in the cache, so when next time user opens the app, it loads the cache first.

Our backend does not support pushes to invoke data download, so we have to ask for new data. This leads to possible local notifications when the users has unread news ec.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.