How to wait for evaluating values in React from nested requests?
问题 I faced with problem that React didnt wait evalating values. I have about 10 GET requests in useEffect and then placing it on hook state: const [data,setData]=useState() useEffect(async()=>{ //here axios requests setData('here retrieved data above'); },[]); I wrapped in async function but it not helping and my react code starting without data from axios requests, but at console i see data from every request with mark "value below was evaluated just now". How I can wait for evaluating? As I