Sign in
Log inSign up

Is good to use async/await in componentWillMount?

Rodrigo Perez's photo
Rodrigo Perez
·Feb 28, 2018

Hi, I want to do a request to an API in the componentWillMount method, but I want to know if is correct change the life cycle methods to async to use the await.