DEV Community

loading...

Discussion on: `useEffect()` and `async`

Collapse
luisnoresv profile image
Luis Nores

You can use also the use callback hook Inside the use async or use promise chaining inside the use effect

Collapse
stlnick profile image
Nick Author

I’m still cutting my teeth with the basic hooks. But that is good to think about because I’m sure I’ll start running into use cases for the other hooks such as the ones you mentioned.