Reactjs – Why is the state of open null?
I try to use a prop value to set a state but it keeps giving me null. The prop value has a valid value (boolean). This is the constructor of the child component: constructor(props: any) { super(props); this.setState({ ...this.state, customUser:…