I followed React Native Courses but i have a question about API call.
In Networking - Creating APi Layer/Fetching data, you have to call only 1 time to get all informations you need in to build the Card, but in my case, i have to do multiple call to get all informations and create “my card”. I don’t get how to do that ? I tried something but i’m stuck : can i do multiple api call in 1 Flatlist ? how can i store informations and then render them ?
I didn’t find any example showing that in the course and i’m not good enough to find the solution alone at the moment. Anyone can help ? thx
P.S : Im trying to do a react native application based on my wordpress website with wordpress api calls so i have multiple endpoint to call to retrieve all informations (post, media, taxonomy)
thanks dpickut, it provides, indeed, a partial answer to my question, since it’s not only an issue about making multiple call to an api rest endpoint, but it’s an issue about doing multiple call to differents endpoints.
I’m still looking for help on the Internet and found by my side something that helps me : https://youtu.be/fFNXWinbgro?t=1939, but i still have to study it since it’s not coded like Mosh’s code.