DEV Community

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

Collapse
 
kaushalgautam profile image
Kaushal Gautam

Hi Markus!
Brilliant and insightful article. I will definitely refine my approach based on this. I have a query for you. Say, you have a form that takes a lot of fields as input. It also has some select dropdown fields as inputs which are interdependent. Eg: you select a country from a dropdown and then another dropdown is dynamically filled with the states of the selected country. These data will be fetched from firestore. How would you go about using redux firestore for storing these details and how would you design the actions/middleware functions?