Is using async componentDidMount() good?
Let’s start by pointing out the differences and determining how it could cause troubles. Here is the code of async and “sync” componentDidMount() life-cycle method: // This is typescript code componentDidMount(): void { /* do something */ } async componentDidMount(): Promise<void> { /* do something */ /* You can use “await” here */ } By … Read more