DEV Community

Discussion on: Fetching data from an api using React/Redux

Collapse
 
alexnikolaiev94 profile image
AlexNikolaiev94

Thank you for this amazing article! It really helps to understand the core premises of Redux. I still keep failing at a certain spot, though. In my component where I try to call the data I get from fetching action, it keeps failing as my render function tries to render the component I need this data first, and only after that the fetch promise finally resolves and shoots the fetchSuccess action. I could give a link to my github if only you could give me even a slightest hint what I've done wrong :D Have a nice day!