Skip to content

Conversation

@FLGMwt
Copy link

@FLGMwt FLGMwt commented Aug 22, 2020

This docs addition adds a snippet to replicate the default behavior of react-query's window focus handling for React Native apps.

EDIT: My apologies, I didn't see the discussion question topic about this until searching in the repo just now. #296 (comment)

That said, I think this is still focused enough to warrant a mention in the docs themselves? The library cherniavskii mentions does basically this exact thing plus a helpful amount more, but assumes the user is using React Navigation. I could update the text to suggest that as well.

@vercel
Copy link

vercel bot commented Aug 22, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/f0qk7scrq
✅ Preview: https://react-query-git-fork-flgmwt-patch-1.tannerlinsley.vercel.app

@tannerlinsley
Copy link
Member

Beautiful!

@tannerlinsley tannerlinsley merged commit 7d25d2f into TanStack:master Aug 22, 2020
@tannerlinsley
Copy link
Member

🎉 This PR is included in version 2.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants