how to optimize a fetch in react native expo
I work at an application with react native and expo. After I login the user I call an request for getting user data. The app needs to work offline and when the user has connection I make the request and save the date in a sqlite data base. The problem it s the data is big and it blocks the entire app. For fetch I create an hook like this: