I tried to declare componentWillMount in a component as async but got a flow error: Promise This type is incompatible with undefined. I found out that it's caused by this definition:
componentWillMount(): void;
in https://github.com/facebook/flow/blob/master/lib/react.js
Shouldn't it be possible for components' lifecycle methods which return void to return a Promise instead?