React Native – useState doesn't work in useEffect function
I'm a beginner in react-native and i don't understand the problem in this stuff : in App.js import React, { useEffect, useState } from 'react'; import { ActivityIndicator, FlatList, Text, View } from 'react-native'; export default App = () =>…