Open kylebarron opened 4 years ago
By the way, could you do something like
this.state = { a=“hi” } = this.props.initialState
If there are other items in the props object, do those get added to state or are only the selected names kept?
By the way, could you do something like
If there are other items in the props object, do those get added to state or are only the selected names kept?