I have an empty array that I pass to my flat-list. I also use useEffect to fetch data from the server and update the list. However, after setting t
flat-list
useEffect