re: Hooked on React hooks VIEW POST

FULL DISCUSSION
 

Can we actually make multiple fetches with Promise.all inside an useEffect hook?

 

I'm not sure the exact question here. But Hooks have a clear set of rules to follow. As well 'useEffect' can be used several times so you that you cad can properly group related code and seperate it from unrelated code. Co-location of your effects

code of conduct - report abuse