Post

The thing @hirbod.dev and I are cooking for React Query ❤️ React Native is gonna be really good I think. Teeny-tiny change, probably makes a lot of things easier though 🚀. Let's start by cutting our RN docs in half 😂.

So in order to optimize things, we'll pass a new prop which will enable or disable the subscribers. Even though react-freeze/react native screens already stops re-rendering for unfocused screens, it would still do all the fetching etc. Unsubscribing should help optimizing perf. Check the link

These improvements sound great!🎉 This will make it much easier to improve perf. Most Apps currently are probably still fetching on inactive screens

Yes, most of the times they will. But it will be up to the devs to pass the prop

0 reposts2 likes

No replies yet.