VK
Size: a a a
VK
0
MK
GV
VK
VK
MK
DN
useEffect(()=>{
async function fetchData() {
const promise = await axios.get('https://lb-app.herokuapp.com/stats');
setStats(promise.data);
}
fetchData();
}, []);
useEffect(()=>{
//stats = null
}, [stats]);
VK
MK
VK
VK
MK
VK
I
useEffect(()=>{
async function fetchData() {
const promise = await axios.get('https://lb-app.herokuapp.com/stats');
setStats(promise.data);
}
fetchData();
}, []);
useEffect(()=>{
//stats = null
}, [stats]);
MK
DP
A
DN
A