Answer the question
In order to leave comments, you need to log in
How to get data from Redux Store outside of a component?
The file structure has a utils folder, which stores the overall project logic or reusable functions. The problem is that connect
only components are connected through, and there is no function from another file, so reading values from store
is impossible, how to read store
in external functions in react native
+ redux
?
Answer the question
In order to leave comments, you need to log in
In the component itself, pass the necessary data from the store to functions in utils
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question