Answer the question
In order to leave comments, you need to log in
React native async storage how to work with async?
Actually how to retrieve data from storage without asynchrony. Method AsyncStorage.getItem('key') - returns a promise. And how to work with it if I need to check the value without a promise and without a callback? Right away, because I'm working inside the formation of a request in the axios interceptor. Or am I doing something wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question