React Native Radio cover image

RNR 255 - RTK Query with Lenz Weber-Tronic

React Native Radio

CHAPTER

Don't Duplicate the Data, Derive Your State From the Source Wherever Possible

React query doesn't get you that tight integration with your state management library, which is where you're going to be putting most of this stuff anyway. Usually you shouldn't fetch data from somewhere and then put it into your state. If there's a good source for it, don't duplicate it somewhere else or rather try to combine those things in the end. I'm definitely open to the idea of, no, just let that live in your query library.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner