Flow is giving me the following error whenever I try to use this.state in my code:
this.state
object literal: This type is incompatible with un
You can ignore the state with flow type :any, but this is not recommended. You will get lost when your state get bigger and more complicated.
:any
class ExpandingCell extends Component { state: any; constructor(props) { super(props); this.state = { isExpanded: false }; } }